Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001375/0.001375, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 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.001657/0.001657, allocations: 206.7 kB / 25.13 MB, free: 3.574 MB / 14.72 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.478/1.478, allocations: 230.4 MB / 258.7 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2341/0.2341, allocations: 46.94 MB / 362 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 83.86 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3517, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009992/0.3617, allocations: 7.734 MB / 0.5699 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004956/0.3666, allocations: 2.415 MB / 0.5722 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008361/0.3675, allocations: 31.94 kB / 0.5723 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.3717, allocations: 1.816 MB / 0.574 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.3742, allocations: 0.7215 MB / 0.5748 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.3777, allocations: 1.073 MB / 0.5758 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.3807, allocations: 1.417 MB / 0.5772 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.3825, allocations: 0.9301 MB / 0.5781 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3836, allocations: 0.619 MB / 0.5787 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.3847, allocations: 0.7353 MB / 0.5794 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.3849, allocations: 112 kB / 0.5795 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.386, allocations: 327.8 kB / 0.5798 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.3863, allocations: 298.9 kB / 0.5801 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008044/0.3871, allocations: 0.6491 MB / 0.5808 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.3901, allocations: 1.785 MB / 0.5825 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.3901, allocations: 7.922 kB / 0.5825 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3901, allocations: 4 kB / 0.5825 GB, free: 15.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.3902, allocations: 0 / 0.5825 GB, free: 15.53 MB / 430.1 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.008312/0.3985, allocations: 2.334 MB / 0.5848 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3985, allocations: 16.03 kB / 0.5848 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009651/0.4082, allocations: 1.335 MB / 0.5861 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.4097, allocations: 0.5567 MB / 0.5867 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.4098, allocations: 99.02 kB / 0.5867 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.41, allocations: 136.4 kB / 0.5869 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.4128, allocations: 1.595 MB / 0.5884 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.4128, allocations: 7.953 kB / 0.5884 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4129, allocations: 52 kB / 0.5885 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.4129, allocations: 43.94 kB / 0.5885 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.4157, allocations: 1.517 MB / 0.59 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008205/0.4239, allocations: 5.026 MB / 0.5949 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.4259, allocations: 1.08 MB / 0.596 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/0.4269, allocations: 0.5421 MB / 0.5965 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.4271, allocations: 40.95 kB / 0.5965 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4271, allocations: 43.56 kB / 0.5966 GB, free: 0.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 2.946e-06/0.4271, allocations: 0 / 0.5966 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009065/0.4362, allocations: 3.002 MB / 0.5995 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.4362, allocations: 90.11 kB / 0.5996 GB, free: 13.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.4368, allocations: 470 kB / 0.6001 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/0.4369, allocations: 49.64 kB / 0.6001 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.4372, allocations: 476.8 kB / 0.6006 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.4376, allocations: 444.2 kB / 0.601 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/0.438, allocations: 218.8 kB / 0.6012 GB, free: 11.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4382, allocations: 386.7 kB / 0.6016 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/0.439, allocations: 458.4 kB / 0.602 GB, free: 11.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4401, allocations: 0.6996 MB / 0.6027 GB, free: 10.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.4421, allocations: 1.198 MB / 0.6038 GB, free: 9.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.4421, allocations: 4 kB / 0.6038 GB, free: 9.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003062/0.4452, allocations: 1.582 MB / 0.6054 GB, free: 7.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4452, allocations: 12 kB / 0.6054 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4452, allocations: 4 kB / 0.6054 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.4469, allocations: 0.5279 MB / 0.6059 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.4477, allocations: 199.7 kB / 0.6061 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001994/0.4479, allocations: 57.19 kB / 0.6062 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.4486, allocations: 126.9 kB / 0.6063 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.4487, allocations: 52 kB / 0.6063 GB, free: 6.484 MB / 446.1 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.0004764/0.4491, allocations: 273.6 kB / 0.6066 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4493, allocations: 79.48 kB / 0.6067 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.4522, allocations: 1.544 MB / 0.6082 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.4523, allocations: 15.94 kB / 0.6082 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.4523, allocations: 4 kB / 0.6082 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.4523, allocations: 7.969 kB / 0.6082 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.4571, allocations: 2.816 MB / 0.611 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4571, allocations: 0 / 0.611 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.4577, allocations: 147.7 kB / 0.6111 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.4592, allocations: 0.5184 MB / 0.6116 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.4593, allocations: 24 kB / 0.6116 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003065/0.4596, allocations: 80.66 kB / 0.6117 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4596, allocations: 0 / 0.6117 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.4638, allocations: 2.321 MB / 0.614 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.4643, allocations: 207.1 kB / 0.6142 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.4644, allocations: 23.94 kB / 0.6142 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.465, allocations: 43.97 kB / 0.6142 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.4652, allocations: 81.16 kB / 0.6143 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.4653, allocations: 40.05 kB / 0.6144 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004005/0.4657, allocations: 310.9 kB / 0.6147 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4657, allocations: 0 / 0.6147 GB, free: 13.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009463/0.4666, allocations: 351.2 kB / 0.615 GB, free: 13.52 MB / 462.1 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.0002883/0.4669, allocations: 159 kB / 0.6151 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.4698, allocations: 1.273 MB / 0.6164 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4698, allocations: 0 / 0.6164 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.4716, allocations: 0.6998 MB / 0.6171 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.4723, allocations: 97.81 kB / 0.6172 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.4758, allocations: 2.09 MB / 0.6192 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.4765, allocations: 1.036 MB / 0.6202 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.4769, allocations: 110.8 kB / 0.6203 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.4771, allocations: 67.41 kB / 0.6204 GB, free: 7.926 MB / 462.1 MB Notification: Performance of SimCode: time 1.432e-06/0.4771, allocations: 4 kB / 0.6204 GB, free: 7.922 MB / 462.1 MB Notification: Performance of Templates: time 0.02652/0.5037, allocations: 15.3 MB / 0.6353 GB, free: 8.688 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.776483331108466]