Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.00147/0.00147, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001803/0.001803, allocations: 160.9 kB / 24.26 MB, free: 148 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.527/1.527, 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.3588/0.3588, allocations: 34.24 MB / 295.2 MB, free: 0.668 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.108e-05, allocations: 2.312 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01551/0.01554, allocations: 6.821 MB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008425/0.02396, allocations: 2.295 MB / 386.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.02538, allocations: 31.94 kB / 386.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00813/0.03351, allocations: 1.78 MB / 388.1 MB, free: 7.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.03796, allocations: 0.722 MB / 388.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004953/0.04291, allocations: 1.024 MB / 389.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.04657, allocations: 1.458 MB / 391.3 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.04947, allocations: 0.9144 MB / 392.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.0519, allocations: 0.8614 MB / 393.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.0536, allocations: 0.5648 MB / 393.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004205/0.05402, allocations: 112 kB / 393.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.0557, allocations: 327.6 kB / 394.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005564/0.05626, allocations: 298.8 kB / 394.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.05786, allocations: 450.8 kB / 394.8 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.06297, allocations: 1.822 MB / 396.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.06297, allocations: 3.938 kB / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06298, allocations: 0 / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.232e-05/0.06302, allocations: 4 kB / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.01533/0.07835, allocations: 2.319 MB / 399 MB, free: 12.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.07841, allocations: 8.031 kB / 399 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/0.09913, allocations: 1.643 MB / 400.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.1017, allocations: 0.556 MB / 401.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.1019, allocations: 103 kB / 401.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006649/0.1026, allocations: 136.3 kB / 401.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006337/0.1089, allocations: 1.595 MB / 403 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.039e-05/0.109, allocations: 4.172 kB / 403 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.1092, allocations: 59.94 kB / 403.1 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.1093, allocations: 32 kB / 403.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/0.1148, allocations: 1.501 MB / 404.6 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.1303, allocations: 4.324 MB / 408.9 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.1326, allocations: 1.068 MB / 410 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.1337, allocations: 0.5462 MB / 410.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.1339, allocations: 44.97 kB / 410.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.1339, allocations: 55.55 kB / 410.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.367e-06/0.1339, allocations: 0 / 410.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.01003/0.144, allocations: 3.049 MB / 413.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.1441, allocations: 94.05 kB / 413.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.1448, allocations: 421.7 kB / 414.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.1449, allocations: 45.7 kB / 414.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/0.1456, allocations: 476.9 kB / 414.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.1462, allocations: 440.1 kB / 415.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.1467, allocations: 222.8 kB / 415.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.1469, allocations: 374.8 kB / 415.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.148, allocations: 458.4 kB / 416.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.1493, allocations: 0.7036 MB / 416.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.1517, allocations: 1.198 MB / 418.1 MB, free: 9.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.1517, allocations: 4 kB / 418.1 MB, free: 9.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003906/0.1556, allocations: 1.625 MB / 419.7 MB, free: 7.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.1556, allocations: 11.94 kB / 419.7 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.1557, allocations: 12.27 kB / 419.7 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.1575, allocations: 0.5255 MB / 420.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.1583, allocations: 203.6 kB / 420.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002176/0.1586, allocations: 53.27 kB / 420.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.1594, allocations: 123.1 kB / 420.6 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.1595, allocations: 51.98 kB / 420.7 MB, free: 6.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006142/0.1601, allocations: 273.5 kB / 420.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.1605, allocations: 115.5 kB / 421.1 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/0.1643, allocations: 1.54 MB / 422.6 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/0.1643, allocations: 15.98 kB / 422.6 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.1643, allocations: 4 kB / 422.6 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.1643, allocations: 3.984 kB / 422.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/0.1701, allocations: 2.481 MB / 425.1 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.1701, allocations: 4.031 kB / 425.1 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.1708, allocations: 147.8 kB / 425.3 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.1725, allocations: 0.5193 MB / 425.8 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.1726, allocations: 27.94 kB / 425.8 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003322/0.1729, allocations: 60.8 kB / 425.9 MB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1729, allocations: 3.938 kB / 425.9 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.1779, allocations: 2.361 MB / 428.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.1785, allocations: 211.1 kB / 428.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.1787, allocations: 24 kB / 428.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/0.1794, allocations: 43.97 kB / 428.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.1796, allocations: 85.09 kB / 428.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.884e-05/0.1797, allocations: 35.98 kB / 428.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005587/0.1803, allocations: 271.1 kB / 428.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1803, allocations: 0 / 428.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001216/0.1815, allocations: 359.2 kB / 429.2 MB, free: 14.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/0.1819, allocations: 166.9 kB / 429.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.1852, allocations: 1.273 MB / 430.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1852, allocations: 0 / 430.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.1872, allocations: 0.6863 MB / 431.3 MB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.188, allocations: 125.8 kB / 431.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.1923, allocations: 2.073 MB / 433.5 MB, free: 9.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.1929, allocations: 458.3 kB / 434 MB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005094/0.1934, allocations: 110.4 kB / 434.1 MB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.1937, allocations: 64.48 kB / 434.2 MB, free: 9.094 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1937, allocations: 0 / 434.2 MB, free: 9.094 MB / 410.7 MB Notification: Performance of Templates: time 0.2057/0.3994, allocations: 12.27 MB / 446.4 MB, free: 100.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.870726756984368]