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.001046/0.001046, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001011/0.001011, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.188/0.188, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001147, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2906, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006588/0.2973, allocations: 6.932 MB / 0.5252 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.3013, allocations: 2.203 MB / 0.5273 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.3018, allocations: 21.72 kB / 0.5274 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.305, allocations: 1.518 MB / 0.5288 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.3068, allocations: 0.8427 MB / 0.5297 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.308, allocations: 0.5791 MB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3092, allocations: 1.158 MB / 0.5314 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.3103, allocations: 0.8074 MB / 0.5321 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005369/0.3108, allocations: 478 kB / 0.5326 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.3114, allocations: 0.5968 MB / 0.5332 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3115, allocations: 95.34 kB / 0.5333 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.3121, allocations: 283 kB / 0.5335 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3123, allocations: 246.5 kB / 0.5338 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.3128, allocations: 0.5564 MB / 0.5343 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3142, allocations: 1.453 MB / 0.5357 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3142, allocations: 0 / 0.5357 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3142, allocations: 1.062 kB / 0.5357 GB, free: 7.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3142, allocations: 0 / 0.5357 GB, free: 7.156 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.003841/0.318, allocations: 1.686 MB / 0.5374 GB, free: 5.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3181, allocations: 14.59 kB / 0.5374 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.3183, allocations: 175.9 kB / 0.5376 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009666/0.3279, allocations: 1.314 MB / 0.5389 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009774/0.3289, allocations: 0.5366 MB / 0.5394 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.329, allocations: 98.45 kB / 0.5395 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.3292, allocations: 121.4 kB / 0.5396 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.3314, allocations: 1.14 MB / 0.5407 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.3314, allocations: 5.688 kB / 0.5407 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.3315, allocations: 47.28 kB / 0.5408 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.3316, allocations: 28.19 kB / 0.5408 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.3338, allocations: 1.373 MB / 0.5421 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006921/0.3408, allocations: 4.633 MB / 0.5466 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3425, allocations: 0.938 MB / 0.5476 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.3431, allocations: 367.7 kB / 0.5479 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3432, allocations: 102.1 kB / 0.548 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3432, allocations: 51.44 kB / 0.5481 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.105e-06/0.3432, allocations: 0 / 0.5481 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002169/0.3454, allocations: 1.187 MB / 0.5492 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3455, allocations: 64.34 kB / 0.5493 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.3463, allocations: 0.7854 MB / 0.55 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.3464, allocations: 41.7 kB / 0.5501 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.3467, allocations: 455 kB / 0.5505 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.3469, allocations: 311.5 kB / 0.5508 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.3472, allocations: 186.9 kB / 0.551 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3474, allocations: 402.7 kB / 0.5514 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.348, allocations: 330.5 kB / 0.5517 GB, free: 9.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.3488, allocations: 0.5661 MB / 0.5522 GB, free: 8.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.3501, allocations: 0.9153 MB / 0.5531 GB, free: 7.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3501, allocations: 8 kB / 0.5531 GB, free: 7.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00185/0.352, allocations: 1.123 MB / 0.5542 GB, free: 6.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.352, allocations: 8 kB / 0.5543 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.352, allocations: 4 kB / 0.5543 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.3523, allocations: 66.17 kB / 0.5543 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.3533, allocations: 247.6 kB / 0.5546 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.3554, allocations: 2.828 MB / 0.5573 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.3563, allocations: 150.3 kB / 0.5575 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.3564, allocations: 47.97 kB / 0.5575 GB, free: 2.957 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.0003462/0.3567, allocations: 249.6 kB / 0.5577 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3569, allocations: 86.97 kB / 0.5578 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.3587, allocations: 1.091 MB / 0.5589 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3587, allocations: 16 kB / 0.5589 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3587, allocations: 0 / 0.5589 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3587, allocations: 3.984 kB / 0.5589 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.3621, allocations: 2.696 MB / 0.5615 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3621, allocations: 8.781 kB / 0.5616 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/0.3628, allocations: 179.7 kB / 0.5617 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.363, allocations: 65.61 kB / 0.5618 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.3631, allocations: 28 kB / 0.5618 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.3649, allocations: 2.812 MB / 0.5646 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3649, allocations: 11.94 kB / 0.5646 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.367, allocations: 1.461 MB / 0.566 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.3672, allocations: 203.7 kB / 0.5662 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3674, allocations: 24 kB / 0.5662 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006301/0.368, allocations: 51.97 kB / 0.5663 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.3681, allocations: 88.28 kB / 0.5663 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.3682, allocations: 32 kB / 0.5664 GB, free: 9.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006476/0.3688, allocations: 0.5537 MB / 0.5669 GB, free: 8.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3688, allocations: 4 kB / 0.5669 GB, free: 8.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009089/0.3698, allocations: 291.4 kB / 0.5672 GB, free: 8.34 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.002444/0.3722, allocations: 2.059 MB / 0.5692 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.374, allocations: 1.077 MB / 0.5703 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.374, allocations: 0 / 0.5703 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.3749, allocations: 0.6195 MB / 0.5709 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.3756, allocations: 110.1 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.01057/0.3862, allocations: 8.059 MB / 0.5788 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.3868, allocations: 0.9883 MB / 0.5798 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.3873, allocations: 147.4 kB / 0.5799 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.3878, allocations: 355.3 kB / 0.5803 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3878, allocations: 0 / 0.5803 GB, free: 10.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.4303, allocations: 18.83 MB / 0.5987 GB, free: 7.699 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 11.56 kB / 0.5987 GB, free: 7.691 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