Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 92.27 kB / 20.96 MB, free: 3.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3654/0.3654, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.557e-05, allocations: 3.297 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008854/0.00889, allocations: 5.795 MB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005722/0.01461, allocations: 2.138 MB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.01571, allocations: 23.94 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.01989, allocations: 1.493 MB / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.02289, allocations: 0.7145 MB / 387.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.02478, allocations: 0.5724 MB / 387.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.02735, allocations: 1.225 MB / 389.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.02932, allocations: 0.8444 MB / 390 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.03085, allocations: 0.721 MB / 390.7 MB, free: 5.305 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000818/0.03166, allocations: 486.6 kB / 391.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.03185, allocations: 108 kB / 391.3 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.03275, allocations: 279.6 kB / 391.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.03301, allocations: 266.9 kB / 391.8 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005538/0.03356, allocations: 398.9 kB / 392.2 MB, free: 3.797 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.036, allocations: 1.542 MB / 393.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.03601, allocations: 0 / 393.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.03601, allocations: 3.938 kB / 393.8 MB, free: 2.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.03605, allocations: 0 / 393.8 MB, free: 2.246 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00519/0.04124, allocations: 1.601 MB / 395.4 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.04129, allocations: 16.03 kB / 395.4 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008713/0.05, allocations: 1.381 MB / 396.8 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.05156, allocations: 487.5 kB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.05167, allocations: 94.7 kB / 397.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.05191, allocations: 116.3 kB / 397.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.05514, allocations: 1.452 MB / 398.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.05518, allocations: 192 / 398.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.05534, allocations: 52.38 kB / 399 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.05538, allocations: 31.94 kB / 399 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.05871, allocations: 1.421 MB / 400.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008464/0.06717, allocations: 3.561 MB / 404 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.07036, allocations: 0.9997 MB / 405 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.07138, allocations: 388.7 kB / 405.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.07151, allocations: 31.97 kB / 405.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.07157, allocations: 54.44 kB / 405.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 3.527e-06/0.07158, allocations: 7.938 kB / 405.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.003612/0.07519, allocations: 1.186 MB / 406.6 MB, free: 5.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.07539, allocations: 247.3 kB / 406.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.07608, allocations: 445.5 kB / 407.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.07615, allocations: 41.7 kB / 407.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.07657, allocations: 491.9 kB / 407.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.0769, allocations: 301.4 kB / 408.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.07726, allocations: 190.9 kB / 408.3 MB, free: 3.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.07749, allocations: 362.8 kB / 408.7 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/0.07849, allocations: 390.4 kB / 409 MB, free: 2.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.07983, allocations: 0.7105 MB / 409.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.08226, allocations: 1.056 MB / 410.8 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.08228, allocations: 7.938 kB / 410.8 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003154/0.08543, allocations: 1.231 MB / 412.1 MB, free: 15.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.08546, allocations: 8.812 kB / 412.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.08548, allocations: 8 kB / 412.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.08568, allocations: 44.78 kB / 412.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.08694, allocations: 287.5 kB / 412.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.08696, allocations: 12 kB / 412.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.08793, allocations: 139.2 kB / 412.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.08804, allocations: 59.97 kB / 412.6 MB, free: 14.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005443/0.08858, allocations: 253.5 kB / 412.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.08888, allocations: 87.56 kB / 412.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.09167, allocations: 1.025 MB / 414 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.09168, allocations: 8 kB / 414 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.0917, allocations: 4 kB / 414 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.09171, allocations: 7.922 kB / 414 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.09629, allocations: 2.003 MB / 416 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.09629, allocations: 0 / 416 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.09733, allocations: 219.7 kB / 416.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.09745, allocations: 28.78 kB / 416.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.09751, allocations: 27.98 kB / 416.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.09752, allocations: 4 kB / 416.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.09753, allocations: 3.938 kB / 416.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.1017, allocations: 1.855 MB / 418.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.1019, allocations: 75.41 kB / 418.2 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.102, allocations: 19.94 kB / 418.2 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/0.1029, allocations: 59.94 kB / 418.3 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.1031, allocations: 75.86 kB / 418.3 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.1032, allocations: 31.98 kB / 418.4 MB, free: 8.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005434/0.1037, allocations: 299.1 kB / 418.7 MB, free: 8.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1037, allocations: 0 / 418.7 MB, free: 8.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001468/0.1052, allocations: 303.2 kB / 419 MB, free: 8.281 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004106/0.1056, allocations: 167.9 kB / 419.1 MB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.1082, allocations: 0.9116 MB / 420 MB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1082, allocations: 8.062 kB / 420 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.1093, allocations: 440.8 kB / 420.5 MB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.1104, allocations: 136.4 kB / 420.6 MB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.1139, allocations: 1.657 MB / 422.3 MB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1144, allocations: 385.6 kB / 422.6 MB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005853/0.115, allocations: 125.4 kB / 422.8 MB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.1153, allocations: 84.47 kB / 422.8 MB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 2.034e-06/0.1153, allocations: 0 / 422.8 MB, free: 4.301 MB / 394.7 MB Notification: Performance of Templates: time 0.0216/0.1369, allocations: 9.518 MB / 432.4 MB, free: 10.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.640076988027431]