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.001329/0.001329, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001485/0.001485, allocations: 217 kB / 23.75 MB, free: 4.668 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2242/0.2242, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.001967/0.001967, allocations: 63.89 kB / 0.4961 GB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 66.04 MB / 0.5606 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004246/0.3549, allocations: 2.598 MB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3567, allocations: 0.6817 MB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.3569, allocations: 11.94 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3571, allocations: 35.64 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3573, allocations: 79.27 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.3577, allocations: 67.91 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.3581, allocations: 298.7 kB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.3584, allocations: 70.39 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.3587, allocations: 127.5 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.359, allocations: 115.5 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.359, allocations: 24 kB / 0.5646 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-05/0.3591, allocations: 28 kB / 0.5646 GB, free: 384 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3592, allocations: 51.77 kB / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.3594, allocations: 135.3 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.3599, allocations: 286.8 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3599, allocations: 4 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3599, allocations: 0 / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3599, allocations: 0 / 0.5651 GB, free: 15.91 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.001077/0.361, allocations: 477.5 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.361, allocations: 8.031 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.375e-05/0.3611, allocations: 58.72 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.3613, allocations: 32.8 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.3618, allocations: 202.1 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3619, allocations: 12.81 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.3619, allocations: 24.38 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.3624, allocations: 199.3 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3625, allocations: 0 / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.3625, allocations: 11.94 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3625, allocations: 4 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.3629, allocations: 141.7 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3646, allocations: 0.7641 MB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3649, allocations: 98.41 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.365, allocations: 48.84 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.365, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3651, allocations: 30.56 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3651, allocations: 0 / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.002278/0.3673, allocations: 0.6505 MB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.3674, allocations: 51.41 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.3677, allocations: 215.6 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.3677, allocations: 29.7 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3679, allocations: 172.2 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.3679, allocations: 59.52 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3681, allocations: 45.66 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3682, allocations: 338.7 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3684, allocations: 55.97 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.3687, allocations: 113 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.3691, allocations: 171 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3691, allocations: 0 / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007824/0.3699, allocations: 283 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3699, allocations: 4 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3699, allocations: 4 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.3702, allocations: 65.67 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3705, allocations: 35.92 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/0.374, allocations: 2.818 MB / 0.5721 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.3742, allocations: 12.06 kB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.3742, allocations: 12 kB / 0.5721 GB, free: 8.188 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.0002258/0.3744, allocations: 129.8 kB / 0.5722 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.3745, allocations: 23.89 kB / 0.5723 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.3746, allocations: 25.75 kB / 0.5723 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3746, allocations: 0 / 0.5723 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3746, allocations: 4 kB / 0.5723 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3746, allocations: 7.984 kB / 0.5723 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.375, allocations: 260.5 kB / 0.5725 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.375, allocations: 4 kB / 0.5725 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3752, allocations: 15.98 kB / 0.5726 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.3755, allocations: 65.67 kB / 0.5726 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3755, allocations: 8.172 kB / 0.5726 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.3786, allocations: 2.802 MB / 0.5754 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3786, allocations: 0 / 0.5754 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.3795, allocations: 399.5 kB / 0.5758 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.3796, allocations: 15.92 kB / 0.5758 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.3796, allocations: 8 kB / 0.5758 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3798, allocations: 16.23 kB / 0.5758 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.3799, allocations: 23.91 kB / 0.5758 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3799, allocations: 8 kB / 0.5758 GB, free: 4.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3801, allocations: 148.6 kB / 0.576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3801, allocations: 0 / 0.576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.3807, allocations: 64 kB / 0.576 GB, free: 3.879 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.001403/0.3821, allocations: 0.9237 MB / 0.5769 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.3831, allocations: 407.4 kB / 0.5773 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3831, allocations: 0 / 0.5773 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.3837, allocations: 317.6 kB / 0.5776 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.3842, allocations: 31.92 kB / 0.5776 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.389, allocations: 2.494 MB / 0.5801 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.3895, allocations: 0.744 MB / 0.5808 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.3896, allocations: 21.94 kB / 0.5808 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3897, allocations: 67.41 kB / 0.5809 GB, free: 14.67 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3897, allocations: 0 / 0.5809 GB, free: 14.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.4319, allocations: 5.247 MB / 0.586 GB, free: 9.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.04, allocations: 11.67 kB / 0.586 GB, free: 9.562 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.10548348199518]