Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001194/0.001194, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2148/0.2148, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.0075/0.3234, allocations: 6.926 MB / 0.5252 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004385/0.3278, allocations: 2.208 MB / 0.5273 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/0.3285, allocations: 25.47 kB / 0.5274 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.3319, allocations: 1.519 MB / 0.5288 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.3341, allocations: 0.8412 MB / 0.5297 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3354, allocations: 0.5706 MB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.3368, allocations: 1.154 MB / 0.5314 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.3379, allocations: 0.812 MB / 0.5321 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000654/0.3386, allocations: 474.1 kB / 0.5326 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.3393, allocations: 0.6005 MB / 0.5332 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.3394, allocations: 94.69 kB / 0.5333 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006712/0.3401, allocations: 284.4 kB / 0.5335 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3403, allocations: 249 kB / 0.5338 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.3407, allocations: 0.5571 MB / 0.5343 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.3423, allocations: 1.449 MB / 0.5357 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3423, allocations: 3.984 kB / 0.5357 GB, free: 7.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3424, allocations: 1.094 kB / 0.5357 GB, free: 7.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3424, allocations: 0 / 0.5357 GB, free: 7.152 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003971/0.3464, allocations: 1.682 MB / 0.5374 GB, free: 5.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3464, allocations: 10.44 kB / 0.5374 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.3466, allocations: 177.2 kB / 0.5376 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009491/0.3561, allocations: 1.317 MB / 0.5389 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.3574, allocations: 0.5488 MB / 0.5394 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.3575, allocations: 90.84 kB / 0.5395 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.3577, allocations: 117 kB / 0.5396 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.3598, allocations: 1.14 MB / 0.5407 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.3598, allocations: 1.812 kB / 0.5407 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3599, allocations: 54.98 kB / 0.5408 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.36, allocations: 33.41 kB / 0.5408 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.3622, allocations: 1.364 MB / 0.5421 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007032/0.3693, allocations: 4.636 MB / 0.5466 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.371, allocations: 0.9303 MB / 0.5476 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.3716, allocations: 363.7 kB / 0.5479 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3717, allocations: 102.1 kB / 0.548 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3717, allocations: 47.48 kB / 0.548 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.979e-06/0.3718, allocations: 11.92 kB / 0.5481 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002118/0.3739, allocations: 1.187 MB / 0.5492 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3739, allocations: 60.41 kB / 0.5493 GB, free: 11.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.3749, allocations: 0.7894 MB / 0.55 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.375, allocations: 41.7 kB / 0.5501 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.3753, allocations: 459 kB / 0.5505 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.3755, allocations: 307.5 kB / 0.5508 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.3758, allocations: 186.8 kB / 0.551 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3759, allocations: 398.7 kB / 0.5514 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.3765, allocations: 334.5 kB / 0.5517 GB, free: 9.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.3773, allocations: 0.57 MB / 0.5522 GB, free: 8.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.3785, allocations: 0.9153 MB / 0.5531 GB, free: 7.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3786, allocations: 4 kB / 0.5531 GB, free: 7.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00188/0.3804, allocations: 1.127 MB / 0.5542 GB, free: 6.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3805, allocations: 8 kB / 0.5543 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3805, allocations: 8 kB / 0.5543 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.3808, allocations: 65.67 kB / 0.5543 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009408/0.3817, allocations: 247.6 kB / 0.5546 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.3837, allocations: 2.828 MB / 0.5573 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.3847, allocations: 138.3 kB / 0.5575 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.3847, allocations: 47.98 kB / 0.5575 GB, free: 2.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0003574/0.3851, allocations: 241.5 kB / 0.5577 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3852, allocations: 86.97 kB / 0.5578 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.387, allocations: 1.102 MB / 0.5589 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.387, allocations: 8 kB / 0.5589 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.387, allocations: 3.984 kB / 0.5589 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.387, allocations: 3.984 kB / 0.5589 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.3904, allocations: 2.696 MB / 0.5615 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.3905, allocations: 4 kB / 0.5615 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.3912, allocations: 179.7 kB / 0.5617 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.3914, allocations: 65.98 kB / 0.5618 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.3914, allocations: 28 kB / 0.5618 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.3933, allocations: 2.824 MB / 0.5646 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.3933, allocations: 11.94 kB / 0.5646 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.3954, allocations: 1.457 MB / 0.566 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.3957, allocations: 199.8 kB / 0.5662 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3958, allocations: 27.92 kB / 0.5662 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.3965, allocations: 56.03 kB / 0.5663 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3966, allocations: 80.3 kB / 0.5663 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.3967, allocations: 32 kB / 0.5664 GB, free: 9.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.3973, allocations: 0.5537 MB / 0.5669 GB, free: 8.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3974, allocations: 0 / 0.5669 GB, free: 8.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008981/0.3983, allocations: 295.4 kB / 0.5672 GB, free: 8.352 MB / 430.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 (92): * Single equations (assignments): 90 * 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.002395/0.4007, allocations: 2.069 MB / 0.5692 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.4025, allocations: 1.07 MB / 0.5703 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.4025, allocations: 0 / 0.5703 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008562/0.4033, allocations: 0.6142 MB / 0.5709 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.4041, allocations: 119.8 kB / 0.571 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.4148, allocations: 8.051 MB / 0.5788 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.4154, allocations: 0.9883 MB / 0.5798 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005957/0.4161, allocations: 151.4 kB / 0.5799 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.4166, allocations: 355.3 kB / 0.5803 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4166, allocations: 0 / 0.5803 GB, free: 10.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.4634, allocations: 19.17 MB / 0.599 GB, free: 7.363 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.74, allocations: 8.984 kB / 0.599 GB, free: 7.355 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches