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.0008369/0.0008369, 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.0008396/0.0008396, allocations: 169.9 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.9242/0.9242, 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.1314/0.1314, allocations: 32.37 MB / 269.6 MB, free: 14.97 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 2.289e-05/2.453e-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.002891/0.002916, allocations: 2.381 MB / 409.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.003889, allocations: 0.6125 MB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004002, allocations: 4 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.004117, allocations: 35.64 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.004231, allocations: 83.22 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004467, allocations: 71.83 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.004723, allocations: 306.5 kB / 410.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.004871, allocations: 64.56 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.005071, allocations: 175.6 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.005173, allocations: 75.78 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.005208, allocations: 28 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.493e-05/0.005233, allocations: 24 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.005276, allocations: 55.75 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.00534, allocations: 87.83 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.00558, allocations: 291 kB / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005582, allocations: 0 / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.005584, allocations: 0 / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005589, allocations: 4 kB / 411.1 MB, free: 13.97 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.000578/0.006167, allocations: 473.5 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.006213, allocations: 8.031 kB / 411.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.006267, allocations: 58.73 kB / 411.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.006319, allocations: 24.8 kB / 411.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.006633, allocations: 185.3 kB / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.00665, allocations: 16.88 kB / 411.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.006682, allocations: 24.31 kB / 411.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.006993, allocations: 273.7 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.007002, allocations: 4.188 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.007024, allocations: 12.12 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007031, allocations: 4 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.007221, allocations: 141.9 kB / 412.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.008146, allocations: 0.7106 MB / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.008302, allocations: 90.48 kB / 413.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.008362, allocations: 44.84 kB / 413.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.008377, allocations: 0 / 413.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.008403, allocations: 46.48 kB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.008404, allocations: 4 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001144/0.009548, allocations: 0.6348 MB / 413.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.009578, allocations: 55.41 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.009729, allocations: 219.8 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.009743, allocations: 25.7 kB / 414.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.009823, allocations: 176.1 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.009854, allocations: 55.58 kB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.00991, allocations: 45.66 kB / 414.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.009994, allocations: 326.8 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.01008, allocations: 63.91 kB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.0102, allocations: 117.7 kB / 414.9 MB, free: 9.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.01039, allocations: 172.4 kB / 415 MB, free: 9.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01039, allocations: 3.938 kB / 415 MB, free: 9.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003365/0.01073, allocations: 282.9 kB / 415.3 MB, free: 9.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01075, allocations: 8 kB / 415.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01076, allocations: 0.6562 kB / 415.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.01094, allocations: 69.66 kB / 415.4 MB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01105, allocations: 35.92 kB / 415.4 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.01271, allocations: 2.787 MB / 418.2 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.01279, allocations: 16.02 kB / 418.2 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.0128, allocations: 4 kB / 418.2 MB, free: 6.262 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 0.0001108/0.01291, allocations: 138 kB / 418.4 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.01294, allocations: 27.88 kB / 418.4 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.01297, allocations: 25.78 kB / 418.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01297, allocations: 4 kB / 418.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01298, allocations: 0 / 418.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01298, allocations: 3.938 kB / 418.4 MB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.01318, allocations: 236.6 kB / 418.7 MB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01318, allocations: 0 / 418.7 MB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.01323, allocations: 15.98 kB / 418.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.01335, allocations: 69.67 kB / 418.7 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01336, allocations: 4 kB / 418.7 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.01475, allocations: 2.794 MB / 421.5 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01475, allocations: 0 / 421.5 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.01513, allocations: 384.9 kB / 421.9 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01515, allocations: 27.86 kB / 421.9 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.01517, allocations: 0 / 421.9 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.01525, allocations: 16.11 kB / 422 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.01531, allocations: 23.97 kB / 422 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.01532, allocations: 4 kB / 422 MB, free: 2.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.01542, allocations: 153.5 kB / 422.1 MB, free: 2.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01542, allocations: 7.938 kB / 422.1 MB, free: 2.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01568, allocations: 60 kB / 422.2 MB, free: 1.977 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.0005886/0.01627, allocations: 0.9202 MB / 423.1 MB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.01674, allocations: 401.1 kB / 423.5 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01674, allocations: 0 / 423.5 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.017, allocations: 317.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.0002446/0.01725, allocations: 28.17 kB / 423.8 MB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.01965, allocations: 2.446 MB / 426.3 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01975, allocations: 134.2 kB / 426.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.01983, allocations: 17.95 kB / 426.4 MB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.0199, allocations: 68.47 kB / 426.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0199, allocations: 3.938 kB / 426.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.04554, allocations: 5.908 MB / 432.4 MB, free: 7.512 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.971, allocations: 4.062 kB / 432.4 MB, free: 7.508 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.02594114933163]