Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001766/0.001766, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001927/0.001927, allocations: 210.7 kB / 23.73 MB, free: 4.16 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.89 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3442, allocations: 66.03 MB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.0041/0.3483, allocations: 2.437 MB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3497, allocations: 0.6311 MB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3499, allocations: 7.938 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.35, allocations: 39.64 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.3502, allocations: 67.34 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3506, allocations: 83.83 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.3509, allocations: 290.8 kB / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3511, allocations: 70.38 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3513, allocations: 123.5 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3515, allocations: 103.5 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.3515, allocations: 24 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.491e-05/0.3516, allocations: 24 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.3517, allocations: 55.83 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3518, allocations: 103.5 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.3521, allocations: 290.8 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3521, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3521, allocations: 4 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3522, allocations: 3.938 kB / 0.5648 GB, free: 15.75 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000861/0.353, allocations: 477.5 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3531, allocations: 8.031 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.3531, allocations: 58.73 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3533, allocations: 36.78 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.3537, allocations: 198.1 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3537, allocations: 16.81 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.3537, allocations: 20.38 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.3541, allocations: 272.5 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3541, allocations: 0 / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3542, allocations: 8 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3542, allocations: 4 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.3544, allocations: 141.6 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3557, allocations: 0.7173 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.356, allocations: 106.4 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.356, allocations: 44.84 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3561, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.3561, allocations: 34.56 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.3561, allocations: 0 / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001799/0.3579, allocations: 0.6504 MB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3579, allocations: 55.41 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3582, allocations: 214.9 kB / 0.5677 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3582, allocations: 33.7 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3583, allocations: 172.2 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.3584, allocations: 59.48 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.3584, allocations: 41.7 kB / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3586, allocations: 330.8 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3587, allocations: 59.97 kB / 0.5684 GB, free: 11.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.3589, allocations: 109 kB / 0.5685 GB, free: 11.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.3592, allocations: 171.5 kB / 0.5687 GB, free: 11.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3592, allocations: 4 kB / 0.5687 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005182/0.3597, allocations: 278.9 kB / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3597, allocations: 4 kB / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3597, allocations: 160 / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.36, allocations: 77.67 kB / 0.569 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3601, allocations: 31.92 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.3627, allocations: 2.802 MB / 0.5718 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3628, allocations: 11.98 kB / 0.5718 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3628, allocations: 8 kB / 0.5718 GB, free: 8.004 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.0001529/0.363, allocations: 133.8 kB / 0.5719 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.363, allocations: 19.91 kB / 0.572 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.3631, allocations: 26.45 kB / 0.572 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3631, allocations: 0 / 0.572 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3631, allocations: 4.062 kB / 0.572 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3631, allocations: 8.078 kB / 0.572 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3634, allocations: 232.6 kB / 0.5722 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3634, allocations: 0 / 0.5722 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.3635, allocations: 19.92 kB / 0.5722 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.3637, allocations: 69.61 kB / 0.5723 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3637, allocations: 4 kB / 0.5723 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.3661, allocations: 2.794 MB / 0.575 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3661, allocations: 3.984 kB / 0.575 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.3667, allocations: 395.8 kB / 0.5754 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.3668, allocations: 19.88 kB / 0.5754 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3668, allocations: 8 kB / 0.5754 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.367, allocations: 15.98 kB / 0.5755 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.367, allocations: 15.97 kB / 0.5755 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.367, allocations: 7.938 kB / 0.5755 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3672, allocations: 148.6 kB / 0.5756 GB, free: 3.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3672, allocations: 0 / 0.5756 GB, free: 3.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000357/0.3675, allocations: 64 kB / 0.5757 GB, free: 3.734 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.0009827/0.3685, allocations: 0.9247 MB / 0.5766 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007503/0.3693, allocations: 397.2 kB / 0.577 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3693, allocations: 0 / 0.577 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.3697, allocations: 323.7 kB / 0.5773 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3701, allocations: 36.05 kB / 0.5773 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.3737, allocations: 2.49 MB / 0.5797 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.3738, allocations: 142 kB / 0.5799 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.297e-05/0.3739, allocations: 17.95 kB / 0.5799 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.374, allocations: 67.41 kB / 0.58 GB, free: 15.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.374, allocations: 0 / 0.58 GB, free: 15.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0452/0.4192, allocations: 5.772 MB / 0.5856 GB, free: 9.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 12.78 kB / 0.5856 GB, free: 9.52 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_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_1_0_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv failed! Error: Could not read variable basicTransformer.i2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.314811740070581]