Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 97.66 kB / 15.98 MB, free: 6.352 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.001149/0.001149, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.904/1.904, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4762/0.4762, allocations: 43.5 MB / 313.6 MB, free: 8.328 MB / 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.001458/0.001458, allocations: 64.38 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1635, allocations: 57.78 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008946/0.1725, allocations: 6.891 MB / 446.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007172/0.1797, allocations: 2.163 MB / 449.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1811, allocations: 31.88 kB / 449.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.1845, allocations: 1.424 MB / 450.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.1869, allocations: 0.7817 MB / 451.3 MB, free: 3.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1882, allocations: 0.526 MB / 451.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1897, allocations: 1.179 MB / 453 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.191, allocations: 0.9094 MB / 453.9 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006989/0.1917, allocations: 490 kB / 454.4 MB, free: 28 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2948/0.4865, allocations: 0.6166 MB / 455 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.4869, allocations: 97.59 kB / 455.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009124/0.4878, allocations: 276.2 kB / 455.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.4881, allocations: 256.2 kB / 455.6 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006661/0.4887, allocations: 0.572 MB / 456.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.4911, allocations: 1.457 MB / 457.7 MB, free: 38.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4911, allocations: 2.531 kB / 457.7 MB, free: 38.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.4911, allocations: 0 / 457.7 MB, free: 38.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.796e-05/0.4912, allocations: 0 / 457.7 MB, free: 38.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004608/0.4958, allocations: 1.707 MB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.4959, allocations: 16.48 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009495/0.5054, allocations: 1.42 MB / 460.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5067, allocations: 0.5377 MB / 461.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/0.5069, allocations: 93.89 kB / 461.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.5071, allocations: 122.5 kB / 461.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.5093, allocations: 1.191 MB / 462.7 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.5094, allocations: 6.812 kB / 462.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5095, allocations: 48.44 kB / 462.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.5095, allocations: 32.47 kB / 462.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.5117, allocations: 1.438 MB / 464.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00666/0.5183, allocations: 4.832 MB / 469.1 MB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.52, allocations: 1.199 MB / 470.3 MB, free: 34.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.5205, allocations: 370.9 kB / 470.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.731e-05/0.5207, allocations: 103.7 kB / 470.8 MB, free: 33.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5207, allocations: 53.39 kB / 470.8 MB, free: 33.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 4.508e-06/0.5207, allocations: 3.75 kB / 470.8 MB, free: 33.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00207/0.5228, allocations: 1.193 MB / 472 MB, free: 33.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5228, allocations: 66.38 kB / 472.1 MB, free: 33.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.5237, allocations: 0.8003 MB / 472.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.5237, allocations: 40.86 kB / 472.9 MB, free: 32.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.524, allocations: 479.6 kB / 473.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5242, allocations: 311.8 kB / 473.7 MB, free: 32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.5245, allocations: 200.8 kB / 473.9 MB, free: 31.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5246, allocations: 394.9 kB / 474.3 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.5251, allocations: 349.3 kB / 474.6 MB, free: 31.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.5258, allocations: 0.5978 MB / 475.2 MB, free: 30.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.5269, allocations: 0.9824 MB / 476.2 MB, free: 30.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5269, allocations: 3.094 kB / 476.2 MB, free: 30.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001845/0.5288, allocations: 1.165 MB / 477.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5288, allocations: 10.12 kB / 477.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5288, allocations: 10.38 kB / 477.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.5291, allocations: 77.95 kB / 477.4 MB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.5301, allocations: 258.7 kB / 477.7 MB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.532, allocations: 2.83 MB / 480.5 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/0.533, allocations: 149.8 kB / 480.7 MB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.5331, allocations: 59.14 kB / 480.7 MB, free: 26.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005063/0.5336, allocations: 245.1 kB / 481 MB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5338, allocations: 93.53 kB / 481.1 MB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.5356, allocations: 1.101 MB / 482.2 MB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5356, allocations: 8.938 kB / 482.2 MB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5357, allocations: 7.266 kB / 482.2 MB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5357, allocations: 6.188 kB / 482.2 MB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.5389, allocations: 2.728 MB / 484.9 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.539, allocations: 9.594 kB / 484.9 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.5397, allocations: 184.3 kB / 485.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.5399, allocations: 65.53 kB / 485.2 MB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.5399, allocations: 28 kB / 485.2 MB, free: 24.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.5416, allocations: 2.815 MB / 488 MB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5416, allocations: 7.531 kB / 488 MB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.544, allocations: 1.483 MB / 489.5 MB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.5443, allocations: 197.4 kB / 489.7 MB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.5444, allocations: 27.56 kB / 489.7 MB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.5451, allocations: 64.77 kB / 489.8 MB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.5452, allocations: 76.81 kB / 489.9 MB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.5453, allocations: 41.33 kB / 489.9 MB, free: 20.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.5461, allocations: 0.5571 MB / 490.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5461, allocations: 1.062 kB / 490.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001173/0.5473, allocations: 294 kB / 490.7 MB, free: 20 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000352/0.5477, allocations: 181.3 kB / 490.9 MB, free: 19.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.5502, allocations: 1.127 MB / 492 MB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.5502, allocations: 5.625 kB / 492.1 MB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.5512, allocations: 0.6164 MB / 492.7 MB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.5521, allocations: 123.3 kB / 492.8 MB, free: 18.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.5556, allocations: 2.223 MB / 495 MB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.5562, allocations: 1.006 MB / 496 MB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000729/0.557, allocations: 154.1 kB / 496.2 MB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.5572, allocations: 79.94 kB / 496.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5573, allocations: 0 / 496.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of Templates: time 0.02845/0.5857, allocations: 10.46 MB / 0.4948 GB, free: 16.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches