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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 109.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 192 kB / 22.98 MB, free: 5.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251.6 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] 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.3158/0.3158, allocations: 44.91 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001991/0.001991, allocations: 71.89 kB / 495.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.428, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01055/0.4386, allocations: 7.795 MB / 0.554 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.445, allocations: 2.383 MB / 0.5563 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.4466, allocations: 25.31 kB / 0.5563 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.4516, allocations: 1.826 MB / 0.5581 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.4554, allocations: 0.8687 MB / 0.559 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.4578, allocations: 0.8994 MB / 0.5599 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.461, allocations: 1.405 MB / 0.5612 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.4625, allocations: 0.7705 MB / 0.562 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009451/0.4634, allocations: 0.6034 MB / 0.5626 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008668/0.4643, allocations: 0.7354 MB / 0.5633 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.4644, allocations: 112 kB / 0.5634 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.4653, allocations: 327.8 kB / 0.5637 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.4656, allocations: 294.9 kB / 0.564 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.4662, allocations: 0.6569 MB / 0.5646 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.4686, allocations: 1.765 MB / 0.5664 GB, free: 11.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4686, allocations: 0 / 0.5664 GB, free: 11.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4686, allocations: 0 / 0.5664 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.4686, allocations: 3.938 kB / 0.5664 GB, free: 11.31 MB / 414.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.007741/0.4764, allocations: 2.406 MB / 0.5687 GB, free: 8.852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.4764, allocations: 12.02 kB / 0.5687 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009812/0.4862, allocations: 1.393 MB / 0.5701 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.488, allocations: 0.6133 MB / 0.5707 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.4881, allocations: 99.02 kB / 0.5708 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.4884, allocations: 136.3 kB / 0.5709 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.4913, allocations: 1.479 MB / 0.5723 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.4913, allocations: 8 kB / 0.5724 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.4915, allocations: 56 kB / 0.5724 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.4915, allocations: 32 kB / 0.5724 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.4942, allocations: 1.509 MB / 0.5739 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008301/0.5025, allocations: 5.363 MB / 0.5791 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.505, allocations: 2.053 MB / 0.5812 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/0.5059, allocations: 0.5494 MB / 0.5817 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.5061, allocations: 106.1 kB / 0.5818 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.5062, allocations: 43.56 kB / 0.5818 GB, free: 10.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.819e-06/0.5062, allocations: 4 kB / 0.5818 GB, free: 10.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009031/0.5152, allocations: 3.063 MB / 0.5848 GB, free: 7.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.5153, allocations: 94.14 kB / 0.5849 GB, free: 7.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.516, allocations: 469.9 kB / 0.5854 GB, free: 7.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.5161, allocations: 45.7 kB / 0.5854 GB, free: 7.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.5164, allocations: 476.9 kB / 0.5859 GB, free: 6.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/0.5168, allocations: 448.1 kB / 0.5863 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.5172, allocations: 214.8 kB / 0.5865 GB, free: 5.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5174, allocations: 382.7 kB / 0.5869 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009129/0.5183, allocations: 462.4 kB / 0.5873 GB, free: 5.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.5194, allocations: 0.6918 MB / 0.588 GB, free: 4.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.5215, allocations: 1.202 MB / 0.5892 GB, free: 3.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.5215, allocations: 4 kB / 0.5892 GB, free: 3.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003191/0.5247, allocations: 1.567 MB / 0.5907 GB, free: 1.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.5247, allocations: 8 kB / 0.5907 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.5248, allocations: 11.98 kB / 0.5907 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.5264, allocations: 0.5242 MB / 0.5912 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.5272, allocations: 191.7 kB / 0.5914 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002071/0.5274, allocations: 57.19 kB / 0.5915 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.5282, allocations: 131 kB / 0.5916 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.5283, allocations: 52 kB / 0.5916 GB, free: 468 kB / 430.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.0005159/0.5289, allocations: 261.6 kB / 0.5919 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.5291, allocations: 87.48 kB / 0.592 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.5322, allocations: 1.536 MB / 0.5935 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.5322, allocations: 27.92 kB / 0.5935 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5322, allocations: 0 / 0.5935 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.5322, allocations: 3.984 kB / 0.5935 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.5374, allocations: 2.836 MB / 0.5963 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5374, allocations: 0 / 0.5963 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.538, allocations: 143.8 kB / 0.5964 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.5395, allocations: 0.5223 MB / 0.5969 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.5397, allocations: 31.98 kB / 0.5969 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000305/0.54, allocations: 68.73 kB / 0.597 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.54, allocations: 0 / 0.597 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.5442, allocations: 2.302 MB / 0.5993 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.5447, allocations: 292.1 kB / 0.5995 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.5449, allocations: 23.94 kB / 0.5996 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.5455, allocations: 48.05 kB / 0.5996 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.5457, allocations: 73.2 kB / 0.5997 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.5458, allocations: 39.98 kB / 0.5997 GB, free: 8.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004127/0.5462, allocations: 310.9 kB / 0.6 GB, free: 7.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5462, allocations: 0 / 0.6 GB, free: 7.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001088/0.5473, allocations: 339.3 kB / 0.6003 GB, free: 7.41 MB / 446.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.0003382/0.5476, allocations: 171.1 kB / 0.6005 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.5508, allocations: 1.272 MB / 0.6017 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5508, allocations: 0 / 0.6017 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.5525, allocations: 0.6736 MB / 0.6024 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.5534, allocations: 101.9 kB / 0.6025 GB, free: 5.191 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.5576, allocations: 2.074 MB / 0.6045 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008032/0.5584, allocations: 1.04 MB / 0.6055 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005083/0.5589, allocations: 118.7 kB / 0.6056 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.5591, allocations: 59.38 kB / 0.6057 GB, free: 1.836 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5591, allocations: 4 kB / 0.6057 GB, free: 1.832 MB / 446.1 MB Notification: Performance of Templates: time 0.02863/0.5877, allocations: 14.78 MB / 0.6201 GB, free: 3.121 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.133326191455126]