Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009142/0.0009142, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008571/0.0008571, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.911/0.911, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1326/0.1326, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.762e-05, allocations: 6.219 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002497/0.002515, allocations: 2.369 MB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.003378, allocations: 0.6125 MB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.003488, allocations: 8 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003605, allocations: 39.58 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.003708, allocations: 75.28 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.003939, allocations: 71.83 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.00418, allocations: 310.5 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.004326, allocations: 60.56 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.004491, allocations: 171.6 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004593, allocations: 87.77 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.004639, allocations: 24 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.004663, allocations: 24 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.004695, allocations: 47.77 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.004762, allocations: 87.83 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.004991, allocations: 291 kB / 411.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004993, allocations: 0 / 411.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.004996, allocations: 4 kB / 411.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.005002, allocations: 3.984 kB / 411.1 MB, free: 13.98 MB / 394.7 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.0005483/0.005551, allocations: 477.5 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.005588, allocations: 8.031 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.00563, allocations: 54.73 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.00567, allocations: 24.8 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.005907, allocations: 181.4 kB / 411.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005921, allocations: 20.81 kB / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.005949, allocations: 28.36 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.006214, allocations: 277.7 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006222, allocations: 192 / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.006242, allocations: 16.12 kB / 412.1 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006249, allocations: 8 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.006424, allocations: 133.9 kB / 412.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.007255, allocations: 0.7145 MB / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.007408, allocations: 94.48 kB / 413.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.007471, allocations: 44.83 kB / 413.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.007487, allocations: 0 / 413.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.007515, allocations: 42.5 kB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.007516, allocations: 0 / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001176/0.008692, allocations: 0.6349 MB / 413.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.008724, allocations: 63.39 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.008871, allocations: 211.8 kB / 414.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.008885, allocations: 29.64 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.008962, allocations: 176.2 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.008993, allocations: 47.59 kB / 414.3 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.009046, allocations: 49.66 kB / 414.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.00914, allocations: 326.8 kB / 414.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.009225, allocations: 67.91 kB / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.009334, allocations: 109.7 kB / 414.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.009521, allocations: 176.4 kB / 415 MB, free: 9.723 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.009523, allocations: 3.938 kB / 415 MB, free: 9.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003407/0.009864, allocations: 278.9 kB / 415.3 MB, free: 9.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.009879, allocations: 8.656 kB / 415.3 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.009885, allocations: 0 / 415.3 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.01005, allocations: 65.67 kB / 415.4 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.01015, allocations: 44.06 kB / 415.4 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.01184, allocations: 2.786 MB / 418.2 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.01191, allocations: 16.02 kB / 418.2 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01192, allocations: 4 kB / 418.2 MB, free: 6.27 MB / 394.7 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 9.713e-05/0.01202, allocations: 141.9 kB / 418.4 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01205, allocations: 23.8 kB / 418.4 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.01207, allocations: 25.8 kB / 418.4 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.01207, allocations: 7.938 kB / 418.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.01208, allocations: 0 / 418.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01208, allocations: 0 / 418.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01226, allocations: 228.6 kB / 418.6 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01226, allocations: 96 / 418.6 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.0123, allocations: 19.98 kB / 418.7 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.01242, allocations: 73.66 kB / 418.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01243, allocations: 0 / 418.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.01378, allocations: 2.798 MB / 421.5 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01378, allocations: 3.984 kB / 421.5 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.01414, allocations: 384.9 kB / 421.9 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01416, allocations: 23.86 kB / 421.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01418, allocations: 4 kB / 421.9 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.01426, allocations: 20.11 kB / 422 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.01431, allocations: 19.91 kB / 422 MB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01432, allocations: 4.188 kB / 422 MB, free: 2.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.01442, allocations: 153.5 kB / 422.1 MB, free: 2.047 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01442, allocations: 4 kB / 422.1 MB, free: 2.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01467, allocations: 64 kB / 422.2 MB, free: 1.98 MB / 394.7 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.0005432/0.01521, allocations: 0.9284 MB / 423.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.01564, allocations: 393.1 kB / 423.5 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01564, allocations: 0 / 423.5 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.01588, allocations: 321.7 kB / 423.8 MB, free: 280 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01618, allocations: 23.98 kB / 423.8 MB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.01836, allocations: 2.438 MB / 426.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01847, allocations: 134.2 kB / 426.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.01853, allocations: 17.94 kB / 426.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.01861, allocations: 72.41 kB / 426.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01861, allocations: 0 / 426.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.03875, allocations: 5.908 MB / 432.4 MB, free: 7.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.345, allocations: 12.05 kB / 432.4 MB, free: 7.512 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.54336143285036]