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.001649/0.001649, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002064/0.002064, allocations: 212 kB / 23.74 MB, free: 4.656 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2334/0.2334, allocations: 44.91 MB / 358.8 MB, free: 6.305 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.002019/0.002019, allocations: 71.89 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4167, allocations: 65.46 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004099/0.4208, allocations: 2.608 MB / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4221, allocations: 0.6816 MB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.4222, allocations: 4 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.4224, allocations: 39.58 kB / 0.5602 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.4225, allocations: 75.34 kB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.4228, allocations: 79.83 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.4232, allocations: 290.8 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.4234, allocations: 70.38 kB / 0.5607 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.4236, allocations: 127.6 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.4238, allocations: 115.5 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.4238, allocations: 28 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.4239, allocations: 27.94 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.424, allocations: 51.84 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.4241, allocations: 123.4 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.4245, allocations: 290.8 kB / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4245, allocations: 0 / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4245, allocations: 0 / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4245, allocations: 0 / 0.5615 GB, free: 3.188 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.0008472/0.4253, allocations: 481.5 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4254, allocations: 8.031 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.89e-05/0.4255, allocations: 58.73 kB / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.4256, allocations: 36.78 kB / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.426, allocations: 194 kB / 0.5622 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.426, allocations: 24.69 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.4261, allocations: 24.38 kB / 0.5623 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.4265, allocations: 191.4 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4265, allocations: 3.984 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.4265, allocations: 12 kB / 0.5625 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.4265, allocations: 4 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.4268, allocations: 137.7 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.4281, allocations: 0.7601 MB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.4284, allocations: 98.48 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.4285, allocations: 40.84 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.4285, allocations: 0 / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.4285, allocations: 42.67 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.71e-07/0.4285, allocations: 4 kB / 0.5635 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001796/0.4303, allocations: 0.6425 MB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4304, allocations: 59.34 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.4306, allocations: 212 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4306, allocations: 33.7 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4308, allocations: 172.2 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.4308, allocations: 59.52 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.4309, allocations: 41.66 kB / 0.5647 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.4311, allocations: 334.8 kB / 0.565 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.4312, allocations: 63.97 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.4314, allocations: 109.1 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.4317, allocations: 175.3 kB / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4317, allocations: 0 / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005328/0.4323, allocations: 280.5 kB / 0.5656 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4323, allocations: 8.641 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4323, allocations: 7.984 kB / 0.5656 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.4325, allocations: 65.62 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4327, allocations: 31.97 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.4358, allocations: 2.818 MB / 0.5685 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.436, allocations: 16 kB / 0.5685 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.436, allocations: 12.06 kB / 0.5685 GB, free: 11.45 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.0001732/0.4361, allocations: 141.7 kB / 0.5686 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.4362, allocations: 19.91 kB / 0.5687 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.4362, allocations: 25.73 kB / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4362, allocations: 0 / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4363, allocations: 4 kB / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4363, allocations: 0 / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.4366, allocations: 264.5 kB / 0.5689 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4366, allocations: 4 kB / 0.5689 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.4367, allocations: 15.98 kB / 0.569 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.4369, allocations: 65.67 kB / 0.569 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4369, allocations: 4 kB / 0.569 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.4395, allocations: 2.806 MB / 0.5718 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4395, allocations: 0 / 0.5718 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.4402, allocations: 396.8 kB / 0.5721 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.4403, allocations: 15.94 kB / 0.5722 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4403, allocations: 4 kB / 0.5722 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4405, allocations: 16.05 kB / 0.5722 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.4405, allocations: 19.97 kB / 0.5722 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4405, allocations: 4 kB / 0.5722 GB, free: 7.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.4407, allocations: 156.6 kB / 0.5723 GB, free: 7.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4407, allocations: 0 / 0.5723 GB, free: 7.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.4411, allocations: 64 kB / 0.5724 GB, free: 7.145 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.001128/0.4423, allocations: 0.9235 MB / 0.5733 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008457/0.4431, allocations: 397.2 kB / 0.5737 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4431, allocations: 0 / 0.5737 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.4436, allocations: 321.2 kB / 0.574 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.444, allocations: 30.95 kB / 0.574 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.448, allocations: 2.503 MB / 0.5765 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4486, allocations: 0.7479 MB / 0.5772 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.502e-05/0.4487, allocations: 17.95 kB / 0.5772 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4488, allocations: 71.39 kB / 0.5773 GB, free: 1.934 MB / 414.1 MB Notification: Performance of SimCode: time 2.915e-06/0.4488, allocations: 0 / 0.5773 GB, free: 1.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.49, allocations: 5.231 MB / 0.5824 GB, free: 12.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.08, allocations: 7.938 kB / 0.5824 GB, free: 12.83 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.272615715999564]