Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 115.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 75.89 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3083, allocations: 62.43 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00852/0.3169, allocations: 7.502 MB / 0.539 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.3213, allocations: 2.352 MB / 0.5413 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.3218, allocations: 23.16 kB / 0.5413 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003629/0.3255, allocations: 1.754 MB / 0.543 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.3273, allocations: 0.695 MB / 0.5437 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.3288, allocations: 0.7435 MB / 0.5444 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3302, allocations: 1.249 MB / 0.5456 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.3316, allocations: 0.9336 MB / 0.5466 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.3323, allocations: 0.5141 MB / 0.5471 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.333, allocations: 0.6632 MB / 0.5477 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.3331, allocations: 104 kB / 0.5478 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.3338, allocations: 303.8 kB / 0.5481 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.334, allocations: 275 kB / 0.5484 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.3345, allocations: 0.6063 MB / 0.5489 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.336, allocations: 1.592 MB / 0.5505 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.336, allocations: 8 kB / 0.5505 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.32e-07/0.336, allocations: 3.938 kB / 0.5505 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.336, allocations: 0 / 0.5505 GB, free: 14.51 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00418/0.3402, allocations: 1.811 MB / 0.5523 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3403, allocations: 12.03 kB / 0.5523 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009425/0.3497, allocations: 1.326 MB / 0.5536 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.3506, allocations: 0.5607 MB / 0.5541 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.3507, allocations: 99.03 kB / 0.5542 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.3509, allocations: 144 kB / 0.5544 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.353, allocations: 1.234 MB / 0.5556 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.353, allocations: 11.92 kB / 0.5556 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.3531, allocations: 52 kB / 0.5556 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.3532, allocations: 32 kB / 0.5557 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.3555, allocations: 1.443 MB / 0.5571 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007553/0.363, allocations: 5.793 MB / 0.5627 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.3647, allocations: 0.9535 MB / 0.5637 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.3653, allocations: 367.8 kB / 0.564 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.3655, allocations: 187.2 kB / 0.5642 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3655, allocations: 43.56 kB / 0.5642 GB, free: 15.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.406e-06/0.3655, allocations: 0 / 0.5642 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002113/0.3677, allocations: 1.202 MB / 0.5654 GB, free: 14.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.3677, allocations: 60.41 kB / 0.5655 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.3686, allocations: 0.8208 MB / 0.5663 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.3687, allocations: 41.7 kB / 0.5663 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.369, allocations: 0.4986 MB / 0.5668 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.3692, allocations: 311.5 kB / 0.5671 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.3695, allocations: 198.8 kB / 0.5673 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3697, allocations: 398.7 kB / 0.5677 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.3703, allocations: 354.5 kB / 0.568 GB, free: 11.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.3711, allocations: 0.6147 MB / 0.5686 GB, free: 11.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.3724, allocations: 0.9953 MB / 0.5696 GB, free: 9.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3725, allocations: 0 / 0.5696 GB, free: 9.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001897/0.3744, allocations: 1.178 MB / 0.5707 GB, free: 8.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3744, allocations: 12 kB / 0.5707 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3744, allocations: 11.94 kB / 0.5707 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.3747, allocations: 69.67 kB / 0.5708 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.3757, allocations: 267.5 kB / 0.5711 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.3777, allocations: 2.826 MB / 0.5738 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.3786, allocations: 154.2 kB / 0.574 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.3787, allocations: 48 kB / 0.574 GB, free: 5.117 MB / 430.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: 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.0004091/0.3791, allocations: 265 kB / 0.5743 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.3793, allocations: 94.81 kB / 0.5744 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.3811, allocations: 1.107 MB / 0.5754 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.3812, allocations: 7.969 kB / 0.5754 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3812, allocations: 0 / 0.5754 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.3814, allocations: 183.9 kB / 0.5756 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3815, allocations: 23.91 kB / 0.5756 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.382, allocations: 55.91 kB / 0.5757 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3822, allocations: 60.86 kB / 0.5758 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/0.3839, allocations: 0.9054 MB / 0.5766 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001844/0.3858, allocations: 1.289 MB / 0.5779 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004683/0.3863, allocations: 335.9 kB / 0.5782 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.3869, allocations: 0.581 MB / 0.5788 GB, free: 152 kB / 430.1 MB Notification: Performance of Backend: time 4.41e-07/0.3869, allocations: 0 / 0.5788 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.3889, allocations: 1.014 MB / 0.5798 GB, free: 15.1 MB / 446.1 MB Notification: Performance of SimCode: time 0.002428/0.3914, allocations: 1.978 MB / 0.5817 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Templates: time 0.02488/0.4163, allocations: 15.64 MB / 0.597 GB, free: 13.48 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches