Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.0008697/0.0008697, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004361/0.004361, allocations: 162.5 kB / 24.69 MB, free: 9.402 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.848/0.848, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.248e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.137/0.137, allocations: 7.093 MB / 305.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.1402, allocations: 2.494 MB / 308 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.1406, allocations: 28.62 kB / 308.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1416, allocations: 0.5293 MB / 308.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007341/0.1424, allocations: 0.5131 MB / 309.1 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1427, allocations: 253 kB / 309.3 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1438, allocations: 1.53 MB / 310.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.1443, allocations: 374.7 kB / 311.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.1452, allocations: 0.8596 MB / 312.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.1456, allocations: 439.6 kB / 312.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.1458, allocations: 138.8 kB / 312.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.1461, allocations: 177 kB / 312.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1462, allocations: 284.3 kB / 313.1 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.1466, allocations: 463.5 kB / 313.6 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.1482, allocations: 1.726 MB / 315.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1482, allocations: 0 / 315.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1482, allocations: 0 / 315.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.1482, allocations: 5.734 kB / 315.3 MB, free: 7.113 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001868/0.1501, allocations: 1.396 MB / 316.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1501, allocations: 14.2 kB / 316.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.1502, allocations: 151.7 kB / 316.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.1506, allocations: 195.3 kB / 317.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.1516, allocations: 0.6767 MB / 317.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.1516, allocations: 73.38 kB / 317.8 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1517, allocations: 99.67 kB / 317.9 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1529, allocations: 1.032 MB / 318.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.1529, allocations: 14.02 kB / 318.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.153, allocations: 36.78 kB / 319 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.153, allocations: 24.59 kB / 319 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.1539, allocations: 0.6323 MB / 319.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.1569, allocations: 3.502 MB / 323.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.1574, allocations: 331 kB / 323.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.1578, allocations: 252.6 kB / 323.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.1578, allocations: 5.203 kB / 323.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1578, allocations: 36.52 kB / 323.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.744e-06/0.1578, allocations: 2 kB / 323.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.001832/0.1597, allocations: 1.261 MB / 325 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1597, allocations: 85.27 kB / 325.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.1605, allocations: 0.8385 MB / 325.9 MB, free: 196 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1605, allocations: 30.95 kB / 326 MB, free: 160 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.1609, allocations: 0.5721 MB / 326.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.161, allocations: 163.2 kB / 326.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1611, allocations: 132 kB / 326.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1612, allocations: 336.9 kB / 327.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1615, allocations: 162.5 kB / 327.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.1619, allocations: 486.2 kB / 327.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.1626, allocations: 0.6644 MB / 328.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1626, allocations: 3.062 kB / 328.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009358/0.1635, allocations: 0.7617 MB / 329.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1635, allocations: 8.594 kB / 329.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.1635, allocations: 13.75 kB / 329.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.1637, allocations: 87.36 kB / 329.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.164, allocations: 148.9 kB / 329.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.1657, allocations: 2.924 MB / 332.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.166, allocations: 37.38 kB / 332.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.166, allocations: 31.91 kB / 332.5 MB, free: 10.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.1662, allocations: 266.8 kB / 332.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.1663, allocations: 95.56 kB / 332.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.1669, allocations: 491 kB / 333.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1669, allocations: 5.375 kB / 333.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1669, allocations: 8.469 kB / 333.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1669, allocations: 3.984 kB / 333.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.1685, allocations: 1.312 MB / 334.6 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1685, allocations: 2.812 kB / 334.6 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1687, allocations: 65.66 kB / 334.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.1688, allocations: 75.92 kB / 334.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.1688, allocations: 8.406 kB / 334.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.1702, allocations: 2.916 MB / 337.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1702, allocations: 2.969 kB / 337.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.171, allocations: 0.7741 MB / 338.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.1712, allocations: 123.4 kB / 338.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1713, allocations: 8 kB / 338.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.1715, allocations: 35.91 kB / 338.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1715, allocations: 35.94 kB / 338.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1715, allocations: 12 kB / 338.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004831/0.172, allocations: 0.5615 MB / 339.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.172, allocations: 3.938 kB / 339.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005266/0.1726, allocations: 207.9 kB / 339.4 MB, free: 4.512 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (38): * Single equations (assignments): 36 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.1736, allocations: 1.334 MB / 340.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.1743, allocations: 0.6668 MB / 341.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1743, allocations: 0 / 341.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.1746, allocations: 433.1 kB / 341.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.1753, allocations: 231.8 kB / 342.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008013/0.1833, allocations: 7.266 MB / 349.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1836, allocations: 418 kB / 349.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1839, allocations: 107.2 kB / 349.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.1842, allocations: 380.3 kB / 350.2 MB, free: 9.129 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1842, allocations: 0 / 350.2 MB, free: 9.129 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.2189, allocations: 20.95 MB / 371.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.811, allocations: 11.95 kB / 371.2 MB, free: 4.105 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,dcse.la.i,loadInertia.phi,loadInertia.w Variables in the result:time,dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi [Calling sys.exit(0), Time elapsed: 9.84430437721312]