Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3517/0.3517, allocations: 44.93 MB / 358.8 MB, free: 6.184 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 0.493 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 65.47 MB / 0.5569 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004008/0.3358, allocations: 2.423 MB / 0.5593 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3371, allocations: 0.635 MB / 0.5599 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3372, allocations: 4 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.3373, allocations: 43.58 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.3375, allocations: 67.36 kB / 0.56 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3377, allocations: 83.77 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.3381, allocations: 290.8 kB / 0.5604 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.3383, allocations: 74.31 kB / 0.5605 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.3385, allocations: 115.6 kB / 0.5606 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3387, allocations: 107.5 kB / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.3387, allocations: 28 kB / 0.5607 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.3388, allocations: 27.94 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.3388, allocations: 51.84 kB / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.339, allocations: 107.5 kB / 0.5609 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.3393, allocations: 286.8 kB / 0.5612 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3393, allocations: 0 / 0.5612 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3393, allocations: 0 / 0.5612 GB, free: 3.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3394, allocations: 0 / 0.5612 GB, free: 3.262 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008391/0.3402, allocations: 485.5 kB / 0.5616 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3402, allocations: 12.03 kB / 0.5616 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.3403, allocations: 54.73 kB / 0.5617 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.3405, allocations: 32.78 kB / 0.5617 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.3408, allocations: 194 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3408, allocations: 16.81 kB / 0.5619 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3409, allocations: 20.38 kB / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.3413, allocations: 272.5 kB / 0.5622 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3413, allocations: 3.938 kB / 0.5622 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.3413, allocations: 12 kB / 0.5622 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3413, allocations: 4 kB / 0.5622 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3416, allocations: 141.7 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.3429, allocations: 0.7173 MB / 0.5631 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3431, allocations: 94.47 kB / 0.5631 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3432, allocations: 44.83 kB / 0.5632 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.3432, allocations: 4 kB / 0.5632 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3432, allocations: 38.69 kB / 0.5632 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3432, allocations: 4 kB / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001704/0.3449, allocations: 0.6431 MB / 0.5639 GB, free: 284 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.345, allocations: 59.44 kB / 0.5639 GB, free: 212 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3452, allocations: 216 kB / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.3453, allocations: 29.7 kB / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3454, allocations: 172.1 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.3454, allocations: 63.47 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.3455, allocations: 37.72 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3457, allocations: 334.8 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3458, allocations: 59.97 kB / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.346, allocations: 113.1 kB / 0.5649 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.3463, allocations: 167.3 kB / 0.5651 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3463, allocations: 0 / 0.5651 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005423/0.3468, allocations: 289.8 kB / 0.5653 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3469, allocations: 8 kB / 0.5653 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3469, allocations: 0 / 0.5653 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.3471, allocations: 69.61 kB / 0.5654 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3473, allocations: 31.98 kB / 0.5654 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.3499, allocations: 2.806 MB / 0.5682 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.35, allocations: 12.03 kB / 0.5682 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3501, allocations: 8 kB / 0.5682 GB, free: 11.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.3502, allocations: 141.8 kB / 0.5683 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.3503, allocations: 19.89 kB / 0.5683 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.3503, allocations: 25.81 kB / 0.5684 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3503, allocations: 0 / 0.5684 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3503, allocations: 0 / 0.5684 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3503, allocations: 3.938 kB / 0.5684 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.3506, allocations: 236.6 kB / 0.5686 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3506, allocations: 0 / 0.5686 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.434e-05/0.3507, allocations: 19.98 kB / 0.5686 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.3509, allocations: 65.67 kB / 0.5687 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3509, allocations: 8 kB / 0.5687 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.3534, allocations: 2.794 MB / 0.5714 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3534, allocations: 0 / 0.5714 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.354, allocations: 395.6 kB / 0.5718 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.3541, allocations: 19.86 kB / 0.5718 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3541, allocations: 0 / 0.5718 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3543, allocations: 24.11 kB / 0.5718 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3543, allocations: 11.97 kB / 0.5719 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3544, allocations: 11.98 kB / 0.5719 GB, free: 7.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3545, allocations: 148.6 kB / 0.572 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3545, allocations: 0 / 0.572 GB, free: 7.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.3549, allocations: 64 kB / 0.5721 GB, free: 7.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009808/0.3558, allocations: 0.9285 MB / 0.573 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.3565, allocations: 393.2 kB / 0.5733 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3565, allocations: 0 / 0.5733 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.357, allocations: 321.6 kB / 0.5737 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3573, allocations: 35.02 kB / 0.5737 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.3607, allocations: 2.495 MB / 0.5761 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.3609, allocations: 142.1 kB / 0.5763 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.45e-05/0.3609, allocations: 17.94 kB / 0.5763 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.361, allocations: 67.42 kB / 0.5763 GB, free: 2.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.361, allocations: 4 kB / 0.5763 GB, free: 2.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.4015, allocations: 5.767 MB / 0.582 GB, free: 13.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.2, allocations: 15.84 kB / 0.582 GB, free: 13.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.427835583221167]