Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001915/0.001916, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.002112/0.002112, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001622, allocations: 66.2 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1368, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008069/0.1449, allocations: 7.717 MB / 449.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00655/0.1515, allocations: 2.357 MB / 452 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1526, allocations: 27.94 kB / 452.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.1567, allocations: 1.812 MB / 453.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.1594, allocations: 0.901 MB / 454.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1615, allocations: 0.8825 MB / 455.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1635, allocations: 1.436 MB / 457.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.1651, allocations: 1.016 MB / 458.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007835/0.1659, allocations: 0.6111 MB / 458.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007582/0.1667, allocations: 0.7431 MB / 459.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1669, allocations: 116 kB / 459.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.1677, allocations: 335.8 kB / 459.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.168, allocations: 310.8 kB / 460.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006395/0.1687, allocations: 0.6647 MB / 460.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.1707, allocations: 1.764 MB / 462.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1707, allocations: 0 / 462.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1707, allocations: 0 / 462.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.1708, allocations: 0 / 462.6 MB, free: 1.398 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007655/0.1784, allocations: 2.412 MB / 465.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1785, allocations: 11.89 kB / 465.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.1889, allocations: 1.49 MB / 466.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1902, allocations: 0.6323 MB / 467.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.1904, allocations: 99.09 kB / 467.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.1906, allocations: 136.3 kB / 467.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.1933, allocations: 1.527 MB / 469 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.1934, allocations: 11.94 kB / 469 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.1935, allocations: 52 kB / 469 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.1935, allocations: 36 kB / 469 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.1962, allocations: 1.58 MB / 470.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008517/0.2047, allocations: 5.523 MB / 476.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.2074, allocations: 2.354 MB / 478.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.2085, allocations: 0.6645 MB / 479.2 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.2086, allocations: 106.1 kB / 479.3 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.2087, allocations: 55.58 kB / 479.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 5.43e-06/0.2087, allocations: 0 / 479.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.008809/0.2175, allocations: 3.167 MB / 482.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.2177, allocations: 90.11 kB / 482.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.2183, allocations: 481.9 kB / 483.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.2184, allocations: 45.7 kB / 483.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.2188, allocations: 487.1 kB / 483.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.2191, allocations: 429.7 kB / 484 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.2195, allocations: 230.7 kB / 484.2 MB, free: 11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.2197, allocations: 390.7 kB / 484.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.2206, allocations: 463.1 kB / 485.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.2217, allocations: 0.7403 MB / 485.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.2237, allocations: 1.259 MB / 487.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2237, allocations: 4 kB / 487.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00312/0.2268, allocations: 1.665 MB / 488.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2269, allocations: 12.47 kB / 488.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.2269, allocations: 11.94 kB / 488.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.2284, allocations: 0.5278 MB / 489.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.2292, allocations: 215.7 kB / 489.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002103/0.2295, allocations: 57.19 kB / 489.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.2303, allocations: 130.6 kB / 489.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.2304, allocations: 52 kB / 489.7 MB, free: 5.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0005525/0.231, allocations: 282.4 kB / 490 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.2312, allocations: 79.06 kB / 490.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/0.2341, allocations: 1.583 MB / 491.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.2341, allocations: 12 kB / 491.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2341, allocations: 0 / 491.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.2342, allocations: 7.969 kB / 491.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/0.2389, allocations: 2.89 MB / 494.6 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.239, allocations: 0 / 494.6 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/0.2396, allocations: 143.8 kB / 494.7 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.2412, allocations: 0.5223 MB / 495.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/0.2413, allocations: 31.98 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.385e-05/0.2414, allocations: 28.8 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.2415, allocations: 3.984 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/0.2453, allocations: 2.298 MB / 497.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.2458, allocations: 287.6 kB / 497.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.2459, allocations: 20 kB / 497.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.2465, allocations: 60.03 kB / 497.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.2467, allocations: 81.14 kB / 498 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.2468, allocations: 32 kB / 498.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.2472, allocations: 322.9 kB / 498.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2472, allocations: 0 / 498.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009907/0.2482, allocations: 339.1 kB / 498.7 MB, free: 12.13 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 (86): * Single equations (assignments): 85 * 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.0002984/0.2485, allocations: 163 kB / 498.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.2514, allocations: 1.396 MB / 0.4885 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.2514, allocations: 4 kB / 0.4885 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.2531, allocations: 0.7665 MB / 0.4893 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.2539, allocations: 107.4 kB / 0.4894 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.2575, allocations: 2.085 MB / 0.4914 GB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.2581, allocations: 1.044 MB / 0.4924 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.2586, allocations: 119 kB / 0.4926 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.2588, allocations: 63.44 kB / 0.4926 GB, free: 6.324 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2588, allocations: 0 / 0.4926 GB, free: 6.324 MB / 382.1 MB Notification: Performance of Templates: time 0.02451/0.2833, allocations: 13.9 MB / 0.5062 GB, free: 8.465 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches