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.001282/0.001282, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001429/0.001429, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2314/0.2314, allocations: 44.92 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",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.002044/0.002044, allocations: 63.91 kB / 0.4938 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3952, allocations: 65.46 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004162/0.3993, allocations: 2.425 MB / 0.5601 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4007, allocations: 0.6427 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.4008, allocations: 4 kB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.401, allocations: 43.58 kB / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.4012, allocations: 67.34 kB / 0.5608 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.4015, allocations: 79.84 kB / 0.5609 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.4019, allocations: 290.8 kB / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.402, allocations: 78.38 kB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.4023, allocations: 123.6 kB / 0.5613 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.4025, allocations: 119.4 kB / 0.5615 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.4025, allocations: 24 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.4026, allocations: 28 kB / 0.5615 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.4027, allocations: 47.84 kB / 0.5616 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.4028, allocations: 107.5 kB / 0.5617 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.4032, allocations: 290.8 kB / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4032, allocations: 0 / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4032, allocations: 0 / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.4032, allocations: 4 kB / 0.5619 GB, free: 3.184 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.0008664/0.4041, allocations: 477.5 kB / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4041, allocations: 8.031 kB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.481e-05/0.4041, allocations: 12.62 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.4042, allocations: 50.73 kB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.4044, allocations: 36.78 kB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.4047, allocations: 202 kB / 0.5627 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4047, allocations: 16.81 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.4048, allocations: 20.38 kB / 0.5627 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.4052, allocations: 272.3 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4053, allocations: 0 / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.4053, allocations: 12 kB / 0.563 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4053, allocations: 4 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.4056, allocations: 137.7 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.407, allocations: 0.7172 MB / 0.5638 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.4072, allocations: 90.55 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4073, allocations: 52.95 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4073, allocations: 0 / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4073, allocations: 34.56 kB / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.4074, allocations: 0 / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.002125/0.4095, allocations: 0.658 MB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4095, allocations: 55.41 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.4099, allocations: 215.9 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.4099, allocations: 29.7 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.41, allocations: 168.2 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.4101, allocations: 67.5 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.4102, allocations: 45.66 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4104, allocations: 330.8 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4106, allocations: 59.97 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4108, allocations: 109 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.4111, allocations: 175.1 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4111, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000602/0.4117, allocations: 278.9 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4117, allocations: 4 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4118, allocations: 8.156 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.412, allocations: 65.67 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4122, allocations: 27.98 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.4149, allocations: 2.81 MB / 0.569 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.4151, allocations: 12.03 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.4151, allocations: 8 kB / 0.569 GB, free: 11.42 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.0001657/0.4153, allocations: 141.7 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.4153, allocations: 15.91 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.4154, allocations: 21.95 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4154, allocations: 7.984 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4154, allocations: 4.062 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4154, allocations: 3.984 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.4157, allocations: 236.6 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4157, allocations: 0 / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.4158, allocations: 15.98 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.416, allocations: 70.27 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4161, allocations: 8 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.4186, allocations: 2.783 MB / 0.5722 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4186, allocations: 0 / 0.5722 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.4193, allocations: 400.9 kB / 0.5726 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.4194, allocations: 15.91 kB / 0.5726 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4194, allocations: 0 / 0.5726 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4196, allocations: 23.92 kB / 0.5726 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.4196, allocations: 15.95 kB / 0.5726 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4197, allocations: 11.94 kB / 0.5726 GB, free: 7.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.4198, allocations: 148.6 kB / 0.5728 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4198, allocations: 0 / 0.5728 GB, free: 7.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.4202, allocations: 64 kB / 0.5728 GB, free: 7.152 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.00106/0.4213, allocations: 0.9347 MB / 0.5738 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.422, allocations: 397.2 kB / 0.5741 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.422, allocations: 0 / 0.5741 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.4225, allocations: 321.2 kB / 0.5744 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.0003472/0.4228, allocations: 34.83 kB / 0.5745 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.4264, allocations: 2.491 MB / 0.5769 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.4266, allocations: 138.2 kB / 0.577 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.708e-05/0.4267, allocations: 17.95 kB / 0.5771 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4268, allocations: 67.41 kB / 0.5771 GB, free: 2.555 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4268, allocations: 0 / 0.5771 GB, free: 2.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.4626, allocations: 5.485 MB / 0.5825 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.52, allocations: 12.05 kB / 0.5825 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.68630636506714]