Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9629/0.9629, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2707/0.2707, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.519e-05, allocations: 6.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007253/0.007268, allocations: 7.526 MB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.01057, allocations: 2.357 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.01094, allocations: 27.94 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.01286, allocations: 1.917 MB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.01391, allocations: 0.7259 MB / 388.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.01509, allocations: 1.04 MB / 389.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.01611, allocations: 1.459 MB / 391.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.01701, allocations: 0.9144 MB / 392 MB, free: 4.586 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.01765, allocations: 0.8692 MB / 392.9 MB, free: 3.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/0.01812, allocations: 0.5766 MB / 393.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.01823, allocations: 112 kB / 393.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.01864, allocations: 319.6 kB / 393.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.0188, allocations: 306.8 kB / 394.2 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.0191, allocations: 466.8 kB / 394.6 MB, free: 1.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.02011, allocations: 1.234 MB / 395.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.02011, allocations: 0 / 395.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02011, allocations: 0 / 395.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.02012, allocations: 0 / 395.8 MB, free: 0.7188 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.003751/0.02387, allocations: 2.466 MB / 398.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.02391, allocations: 8.031 kB / 398.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.0287, allocations: 1.651 MB / 400 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.02937, allocations: 0.5704 MB / 400.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.02944, allocations: 99.02 kB / 400.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.02958, allocations: 136.3 kB / 400.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.031, allocations: 1.254 MB / 402 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.03103, allocations: 8.125 kB / 402 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.03112, allocations: 63.92 kB / 402.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.03115, allocations: 32 kB / 402.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.03234, allocations: 0.8692 MB / 403 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.0367, allocations: 4.337 MB / 407.3 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.03777, allocations: 0.9717 MB / 408.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.0382, allocations: 385.1 kB / 408.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-05/0.03829, allocations: 40.97 kB / 408.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.03833, allocations: 58.38 kB / 408.8 MB, free: 3.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.455e-06/0.03833, allocations: 0 / 408.8 MB, free: 3.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.004581/0.04291, allocations: 2.446 MB / 411.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.04295, allocations: 98.03 kB / 411.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.04326, allocations: 462.4 kB / 411.8 MB, free: 420 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.04331, allocations: 45.7 kB / 411.8 MB, free: 368 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.04353, allocations: 0.523 MB / 412.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.04375, allocations: 436.2 kB / 412.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.04398, allocations: 236.5 kB / 413 MB, free: 15.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.04414, allocations: 0.5586 MB / 413.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.04449, allocations: 258.4 kB / 413.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.045, allocations: 0.5939 MB / 414.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.04593, allocations: 0.9122 MB / 415.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.04594, allocations: 4 kB / 415.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001434/0.04737, allocations: 1.183 MB / 416.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.04739, allocations: 8 kB / 416.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.0474, allocations: 8 kB / 416.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.04832, allocations: 429.2 kB / 416.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.04873, allocations: 203.6 kB / 417.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000105/0.04884, allocations: 52.09 kB / 417.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.04914, allocations: 119.1 kB / 417.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.0492, allocations: 59.98 kB / 417.4 MB, free: 10.5 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.0002237/0.04943, allocations: 228.2 kB / 417.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.04957, allocations: 115.5 kB / 417.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.05099, allocations: 1.131 MB / 418.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.051, allocations: 16 kB / 418.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.051, allocations: 0 / 418.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.05101, allocations: 11.97 kB / 418.9 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.05336, allocations: 2.072 MB / 420.9 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.05337, allocations: 4.031 kB / 420.9 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.05369, allocations: 143.8 kB / 421.1 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000913/0.05461, allocations: 410.7 kB / 421.5 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.05467, allocations: 31.98 kB / 421.5 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001591/0.05482, allocations: 71.62 kB / 421.6 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.05483, allocations: 3.984 kB / 421.6 MB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.05686, allocations: 1.659 MB / 423.2 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.05712, allocations: 203.1 kB / 423.4 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.05718, allocations: 23.98 kB / 423.5 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.05744, allocations: 44.02 kB / 423.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.05756, allocations: 81.16 kB / 423.6 MB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.0576, allocations: 35.98 kB / 423.6 MB, free: 4.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.05779, allocations: 295 kB / 423.9 MB, free: 3.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05779, allocations: 0 / 423.9 MB, free: 3.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006289/0.05842, allocations: 351.1 kB / 424.2 MB, free: 3.496 MB / 394.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.0002689/0.05868, allocations: 171 kB / 424.4 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.06012, allocations: 0.963 MB / 425.4 MB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.06012, allocations: 5.312 kB / 425.4 MB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.06092, allocations: 0.5584 MB / 425.9 MB, free: 1.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.06135, allocations: 113.9 kB / 426.1 MB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.06383, allocations: 1.908 MB / 428 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.06396, allocations: 203.2 kB / 428.2 MB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.06419, allocations: 98.45 kB / 428.3 MB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.06433, allocations: 76.47 kB / 428.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06433, allocations: 3.938 kB / 428.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of Templates: time 0.01445/0.07878, allocations: 12.31 MB / 440.6 MB, free: 3.176 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.911468196194619]