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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 106.6 kB / 17.98 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 193.3 kB / 18.9 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.18 MB / 336.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.89 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008464/0.1111, allocations: 7.673 MB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.1156, allocations: 2.334 MB / 479.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007122/0.1163, allocations: 28 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.12, allocations: 1.711 MB / 481.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.1222, allocations: 0.7865 MB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.124, allocations: 0.8161 MB / 482.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.1257, allocations: 1.394 MB / 484.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.1273, allocations: 1.129 MB / 485.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.128, allocations: 0.6033 MB / 485.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/0.1287, allocations: 0.7237 MB / 486.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1289, allocations: 116 kB / 486.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007524/0.1296, allocations: 331.7 kB / 487 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.1299, allocations: 302.9 kB / 487.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.1304, allocations: 0.6491 MB / 488 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.1318, allocations: 1.356 MB / 489.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1318, allocations: 0 / 489.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1318, allocations: 4 kB / 489.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.1318, allocations: 0 / 489.3 MB, free: 10.7 MB / 366.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.007328/0.1392, allocations: 2.376 MB / 491.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1392, allocations: 12.03 kB / 491.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009879/0.1491, allocations: 1.393 MB / 493.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1503, allocations: 0.6051 MB / 493.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.1504, allocations: 103 kB / 493.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1506, allocations: 128.4 kB / 493.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.1532, allocations: 1.487 MB / 495.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/0.1533, allocations: 3.906 kB / 495.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.1534, allocations: 55.94 kB / 495.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.1534, allocations: 36 kB / 495.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.1559, allocations: 1.509 MB / 497 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00755/0.1635, allocations: 5.377 MB / 0.4906 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.1658, allocations: 2.189 MB / 0.4928 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009577/0.1668, allocations: 0.6437 MB / 0.4934 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.167, allocations: 102.1 kB / 0.4935 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.167, allocations: 47.56 kB / 0.4935 GB, free: 9.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.146e-06/0.167, allocations: 7.938 kB / 0.4935 GB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008806/0.1759, allocations: 3.105 MB / 0.4966 GB, free: 6.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.1759, allocations: 94.14 kB / 0.4967 GB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.1765, allocations: 457.9 kB / 0.4971 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.1766, allocations: 45.7 kB / 0.4971 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.1768, allocations: 467.5 kB / 0.4976 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.1772, allocations: 425.7 kB / 0.498 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.1775, allocations: 214.8 kB / 0.4982 GB, free: 5.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.1778, allocations: 386.7 kB / 0.4986 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.1786, allocations: 462.4 kB / 0.499 GB, free: 4.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.1795, allocations: 0.6885 MB / 0.4997 GB, free: 3.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.1813, allocations: 1.198 MB / 0.5008 GB, free: 2.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1813, allocations: 7.938 kB / 0.5008 GB, free: 2.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002773/0.1841, allocations: 1.582 MB / 0.5024 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1842, allocations: 8 kB / 0.5024 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.1842, allocations: 8 kB / 0.5024 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.1858, allocations: 0.532 MB / 0.5029 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1947/0.3805, allocations: 192.2 kB / 0.5031 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002971/0.3808, allocations: 52.64 kB / 0.5032 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.3817, allocations: 126.7 kB / 0.5033 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3818, allocations: 52.78 kB / 0.5033 GB, free: 48.97 MB / 382.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.0004745/0.3823, allocations: 267.2 kB / 0.5036 GB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.3825, allocations: 82.09 kB / 0.5037 GB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.3855, allocations: 1.569 MB / 0.5052 GB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3855, allocations: 17.34 kB / 0.5052 GB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3855, allocations: 0 / 0.5052 GB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.3855, allocations: 7.734 kB / 0.5052 GB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.39, allocations: 2.874 MB / 0.508 GB, free: 47.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.39, allocations: 5.219 kB / 0.508 GB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.3907, allocations: 144.9 kB / 0.5082 GB, free: 47.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.3922, allocations: 0.524 MB / 0.5087 GB, free: 47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.3923, allocations: 25.44 kB / 0.5087 GB, free: 46.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003096/0.3926, allocations: 64.23 kB / 0.5088 GB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3926, allocations: 1.828 kB / 0.5088 GB, free: 46.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.3963, allocations: 2.336 MB / 0.5111 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.3968, allocations: 280.6 kB / 0.5113 GB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.397, allocations: 22.48 kB / 0.5113 GB, free: 45.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.3976, allocations: 47.62 kB / 0.5114 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3978, allocations: 75.58 kB / 0.5115 GB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.3979, allocations: 40.53 kB / 0.5115 GB, free: 45.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00039/0.3983, allocations: 309 kB / 0.5118 GB, free: 45.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3983, allocations: 0.9688 kB / 0.5118 GB, free: 45.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3994, allocations: 347.8 kB / 0.5121 GB, free: 45.28 MB / 382.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.0002885/0.3997, allocations: 162.8 kB / 0.5123 GB, free: 45.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.4038, allocations: 1.407 MB / 0.5137 GB, free: 44.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4038, allocations: 1.312 kB / 0.5137 GB, free: 44.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.4057, allocations: 0.7695 MB / 0.5144 GB, free: 44.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/0.4065, allocations: 98.33 kB / 0.5145 GB, free: 44.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.4104, allocations: 2.608 MB / 0.517 GB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.411, allocations: 1.041 MB / 0.5181 GB, free: 42.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.4113, allocations: 73.56 kB / 0.5181 GB, free: 42 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4113, allocations: 1.312 kB / 0.5181 GB, free: 42 MB / 382.1 MB Notification: Performance of Templates: time 0.01837/0.4297, allocations: 16.4 MB / 0.5341 GB, free: 31.93 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches