Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.0008291/0.0008291, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004295/0.004295, allocations: 166.2 kB / 24.7 MB, free: 8.887 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.814/0.814, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.548e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1267/0.1267, allocations: 5.203 MB / 303.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1288, allocations: 1.814 MB / 305.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.129, allocations: 19.72 kB / 305.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.1306, allocations: 1.595 MB / 307.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008176/0.1314, allocations: 0.6687 MB / 307.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.1319, allocations: 395.4 kB / 308.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.1325, allocations: 0.9235 MB / 309 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007328/0.1332, allocations: 0.7796 MB / 309.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.1336, allocations: 0.5643 MB / 310.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1339, allocations: 415.5 kB / 310.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.134, allocations: 82.62 kB / 310.9 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.1343, allocations: 242.1 kB / 311.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.1344, allocations: 209.9 kB / 311.3 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1346, allocations: 319.8 kB / 311.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1356, allocations: 1.234 MB / 312.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1356, allocations: 0 / 312.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1356, allocations: 5.875 kB / 312.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1356, allocations: 4.969 kB / 312.9 MB, free: 8.605 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.001926/0.1376, allocations: 1.366 MB / 314.2 MB, free: 7.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1376, allocations: 14.33 kB / 314.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.1377, allocations: 165.2 kB / 314.4 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/0.1411, allocations: 0.9638 MB / 315.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.1417, allocations: 390.6 kB / 315.8 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.1418, allocations: 79.11 kB / 315.8 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1419, allocations: 109.9 kB / 315.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.1431, allocations: 1.152 MB / 317.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1432, allocations: 1.656 kB / 317.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.1432, allocations: 48.72 kB / 317.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.1432, allocations: 33.16 kB / 317.2 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1444, allocations: 1.122 MB / 318.3 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.1474, allocations: 3.234 MB / 321.5 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.1487, allocations: 0.9097 MB / 322.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.149, allocations: 278.3 kB / 322.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.149, allocations: 21.23 kB / 322.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.149, allocations: 45.03 kB / 322.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.974e-06/0.149, allocations: 4 kB / 322.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008983/0.1499, allocations: 0.7581 MB / 323.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.15, allocations: 112 kB / 323.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1502, allocations: 347.9 kB / 324 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1502, allocations: 36.23 kB / 324 MB, free: 2.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1503, allocations: 458.6 kB / 324.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.1504, allocations: 256.6 kB / 324.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1505, allocations: 175.2 kB / 324.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.1506, allocations: 352.4 kB / 325.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.1509, allocations: 253.4 kB / 325.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.1512, allocations: 0.5594 MB / 326 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.1519, allocations: 0.8732 MB / 326.9 MB, free: 48 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1519, allocations: 2.906 kB / 326.9 MB, free: 48 kB / 282.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0009354/0.1528, allocations: 0.9093 MB / 327.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1528, allocations: 8.188 kB / 327.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1529, allocations: 10.97 kB / 327.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1529, allocations: 17.94 kB / 327.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.1533, allocations: 235 kB / 328.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.1533, allocations: 30.62 kB / 328.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.1536, allocations: 107 kB / 328.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.1536, allocations: 44.38 kB / 328.3 MB, free: 15.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.1538, allocations: 238.2 kB / 328.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.1539, allocations: 44.44 kB / 328.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/0.1547, allocations: 0.6785 MB / 329.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1547, allocations: 12.88 kB / 329.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1547, allocations: 3.984 kB / 329.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1547, allocations: 1.125 kB / 329.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.1563, allocations: 1.469 MB / 330.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1563, allocations: 1.375 kB / 330.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.1566, allocations: 148.1 kB / 330.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1566, allocations: 4 kB / 330.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1566, allocations: 27.92 kB / 330.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1566, allocations: 7.625 kB / 330.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1566, allocations: 4 kB / 330.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1577, allocations: 1.159 MB / 332.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.1578, allocations: 59.5 kB / 332.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.1578, allocations: 19.94 kB / 332.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.158, allocations: 19.98 kB / 332.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.1581, allocations: 52.56 kB / 332.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.1581, allocations: 24.06 kB / 332.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1582, allocations: 211.1 kB / 332.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1582, allocations: 0 / 332.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.1587, allocations: 239.4 kB / 332.7 MB, free: 11.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/0.1601, allocations: 1.757 MB / 334.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1612, allocations: 0.648 MB / 335.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1612, allocations: 0 / 335.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.1615, allocations: 279.6 kB / 335.4 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1619, allocations: 53.53 kB / 335.4 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.1671, allocations: 5.491 MB / 340.9 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1673, allocations: 337.2 kB / 341.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1675, allocations: 92.89 kB / 341.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.1678, allocations: 288.4 kB / 341.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1678, allocations: 3.938 kB / 341.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.195, allocations: 11.16 MB / 352.8 MB, free: 7.332 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.538, allocations: 11.83 kB / 352.8 MB, free: 7.32 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.200335765257478]