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.001785/0.001785, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002219/0.002219, allocations: 208.9 kB / 23.73 MB, free: 4.523 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2403/0.2403, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.001942/0.001942, allocations: 71.89 kB / 0.4961 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004856/0.3708, allocations: 2.431 MB / 0.5629 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3726, allocations: 0.6311 MB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3727, allocations: 7.938 kB / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3729, allocations: 39.64 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.3731, allocations: 71.34 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.3736, allocations: 83.81 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.3741, allocations: 294.7 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.3744, allocations: 74.38 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.3747, allocations: 115.6 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3748, allocations: 119.5 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.3749, allocations: 28 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.375, allocations: 24 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.375, allocations: 55.83 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3752, allocations: 111.5 kB / 0.5645 GB, free: 180 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.3756, allocations: 290.7 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3756, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3756, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3756, allocations: 3.984 kB / 0.5648 GB, free: 15.89 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.0008749/0.3765, allocations: 477.5 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.3766, allocations: 12.03 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.3766, allocations: 54.73 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.3768, allocations: 36.78 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3772, allocations: 190.1 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3772, allocations: 16.81 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.3773, allocations: 24.36 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.3777, allocations: 276.5 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3777, allocations: 0 / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.3777, allocations: 12 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3777, allocations: 4 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.378, allocations: 137.7 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3793, allocations: 0.7173 MB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3796, allocations: 98.41 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.3797, allocations: 44.84 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3797, allocations: 0 / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3797, allocations: 38.56 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.3797, allocations: 0 / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001745/0.3815, allocations: 0.6465 MB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3815, allocations: 55.41 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3817, allocations: 210.9 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.3818, allocations: 29.7 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3819, allocations: 172.8 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.382, allocations: 63.47 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.382, allocations: 41.7 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3822, allocations: 334.7 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3823, allocations: 63.91 kB / 0.5684 GB, free: 11.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.3825, allocations: 109.1 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.3828, allocations: 171.3 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3828, allocations: 3.938 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005618/0.3834, allocations: 286.9 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3834, allocations: 8 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3834, allocations: 0 / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.3837, allocations: 69.67 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3838, allocations: 31.92 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.3865, allocations: 2.798 MB / 0.5718 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3866, allocations: 8 kB / 0.5718 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3866, allocations: 8 kB / 0.5718 GB, free: 8.148 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.0001555/0.3868, allocations: 141.9 kB / 0.572 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.3868, allocations: 19.91 kB / 0.572 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.3869, allocations: 21.81 kB / 0.572 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3869, allocations: 0 / 0.572 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3869, allocations: 0 / 0.572 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3869, allocations: 11.92 kB / 0.572 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3872, allocations: 232.6 kB / 0.5722 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3872, allocations: 0 / 0.5722 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.3873, allocations: 19.98 kB / 0.5723 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.3875, allocations: 65.67 kB / 0.5723 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3875, allocations: 8 kB / 0.5723 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.39, allocations: 2.79 MB / 0.5751 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.39, allocations: 0 / 0.5751 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.3906, allocations: 388.8 kB / 0.5754 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.3907, allocations: 19.89 kB / 0.5754 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3907, allocations: 3.984 kB / 0.5754 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3909, allocations: 20.12 kB / 0.5755 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.391, allocations: 15.95 kB / 0.5755 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.391, allocations: 8 kB / 0.5755 GB, free: 4.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.3911, allocations: 152.5 kB / 0.5756 GB, free: 3.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3911, allocations: 0 / 0.5756 GB, free: 3.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.3915, allocations: 64 kB / 0.5757 GB, free: 3.883 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.0009803/0.3925, allocations: 0.9237 MB / 0.5766 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.3931, allocations: 403.3 kB / 0.577 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3932, allocations: 0 / 0.577 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.3936, allocations: 321.6 kB / 0.5773 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.3939, allocations: 35.86 kB / 0.5773 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.3974, allocations: 2.489 MB / 0.5798 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3976, allocations: 142 kB / 0.5799 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.431e-05/0.3976, allocations: 17.94 kB / 0.5799 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3978, allocations: 71.41 kB / 0.58 GB, free: 15.28 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3978, allocations: 4 kB / 0.58 GB, free: 15.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.4376, allocations: 5.852 MB / 0.5857 GB, free: 9.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 7.875 kB / 0.5857 GB, free: 9.582 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: 14.772360253991792]