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.00195/0.00195, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.002249/0.002249, allocations: 208.5 kB / 23.72 MB, free: 4.379 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.475/1.475, 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.2347/0.2347, allocations: 46.95 MB / 360.9 MB, free: 4.043 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.003075/0.003075, allocations: 71.89 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3658, allocations: 66.04 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004045/0.3698, allocations: 2.416 MB / 0.5629 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3711, allocations: 0.6388 MB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3712, allocations: 7.938 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3714, allocations: 39.64 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.3716, allocations: 79.33 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3719, allocations: 71.84 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.3723, allocations: 294.7 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.3725, allocations: 74.38 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3727, allocations: 123.5 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.3729, allocations: 123.5 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.3729, allocations: 20 kB / 0.5644 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.373, allocations: 28 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.3731, allocations: 51.83 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3732, allocations: 99.53 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.3736, allocations: 298.7 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3736, allocations: 0 / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3736, allocations: 0 / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3736, allocations: 0 / 0.5648 GB, free: 15.9 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.0009123/0.3745, allocations: 481.5 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3746, allocations: 8.031 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.322e-05/0.3747, allocations: 58.72 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.3748, allocations: 32.8 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.3753, allocations: 194.1 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3753, allocations: 16.81 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.3754, allocations: 20.38 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.3758, allocations: 276.5 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3759, allocations: 3.984 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3759, allocations: 4 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.3759, allocations: 11.94 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.3762, allocations: 137.7 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3775, allocations: 0.7173 MB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3777, allocations: 94.42 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.3778, allocations: 44.84 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3778, allocations: 0 / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3778, allocations: 38.56 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.01e-07/0.3778, allocations: 0 / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001878/0.3797, allocations: 0.6582 MB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3798, allocations: 55.34 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.38, allocations: 214.9 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3801, allocations: 29.7 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3802, allocations: 172.2 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.3803, allocations: 59.48 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.3804, allocations: 41.7 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3806, allocations: 330.8 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3807, allocations: 63.97 kB / 0.5684 GB, free: 11.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3809, allocations: 105.1 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.3813, allocations: 175.3 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3813, allocations: 0 / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005555/0.3818, allocations: 282.9 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3818, allocations: 4 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3818, allocations: 4 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.3821, allocations: 65.67 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3823, allocations: 40.06 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.3851, allocations: 2.798 MB / 0.5718 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3852, allocations: 12.02 kB / 0.5718 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3852, allocations: 8 kB / 0.5718 GB, free: 8.152 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.0001669/0.3854, allocations: 141.9 kB / 0.572 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.3854, allocations: 15.91 kB / 0.572 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3855, allocations: 21.8 kB / 0.572 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3855, allocations: 4 kB / 0.572 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3855, allocations: 0 / 0.572 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3855, allocations: 0 / 0.572 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.3858, allocations: 232.8 kB / 0.5722 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.3858, allocations: 4 kB / 0.5722 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3859, allocations: 23.92 kB / 0.5723 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.3861, allocations: 69.67 kB / 0.5723 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3861, allocations: 4.031 kB / 0.5723 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.3886, allocations: 2.795 MB / 0.5751 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3886, allocations: 0 / 0.5751 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.3893, allocations: 392 kB / 0.5754 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3893, allocations: 20.02 kB / 0.5754 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3894, allocations: 8 kB / 0.5755 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3896, allocations: 16.11 kB / 0.5755 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.3896, allocations: 27.89 kB / 0.5755 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3896, allocations: 7.938 kB / 0.5755 GB, free: 4.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.3898, allocations: 152.6 kB / 0.5756 GB, free: 3.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 0.5756 GB, free: 3.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3902, allocations: 64 kB / 0.5757 GB, free: 3.875 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.0009414/0.3911, allocations: 0.9274 MB / 0.5766 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.3918, allocations: 389.2 kB / 0.577 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3918, allocations: 0 / 0.577 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.3922, allocations: 333.6 kB / 0.5773 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3926, allocations: 26.59 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.0033/0.3959, allocations: 2.495 MB / 0.5798 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.396, allocations: 142 kB / 0.5799 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.3961, allocations: 13.95 kB / 0.5799 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3962, allocations: 67.41 kB / 0.58 GB, free: 15.28 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3962, allocations: 4 kB / 0.58 GB, free: 15.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.4362, allocations: 5.85 MB / 0.5857 GB, free: 9.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.53, allocations: 6.594 kB / 0.5857 GB, free: 9.586 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.55358526899363]