Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.008712/0.008712, allocations: 114.2 kB / 21.97 MB, free: 5.227 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.00153/0.00153, allocations: 213.2 kB / 25.28 MB, free: 3.246 MB / 14.72 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 1.388/1.388, allocations: 207.6 MB / 236.1 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 48.36 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2602, allocations: 49.16 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006896/0.2671, allocations: 7.156 MB / 404.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.2707, allocations: 2.411 MB / 406.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005374/0.2712, allocations: 21.16 kB / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.2724, allocations: 0.509 MB / 407.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000718/0.2731, allocations: 415.7 kB / 407.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2735, allocations: 201.9 kB / 407.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2745, allocations: 1.214 MB / 409.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.275, allocations: 340 kB / 409.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.2756, allocations: 473.1 kB / 409.8 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.276, allocations: 0.4915 MB / 410.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.2762, allocations: 113 kB / 410.5 MB, free: 72 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.2764, allocations: 154 kB / 410.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.2766, allocations: 228.5 kB / 410.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.2772, allocations: 0.5411 MB / 411.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.2789, allocations: 1.444 MB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2789, allocations: 4 kB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2789, allocations: 0 / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.2789, allocations: 0.9688 kB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002027/0.2809, allocations: 1.198 MB / 414 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.281, allocations: 12.95 kB / 414 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.397e-05/0.281, allocations: 25.56 kB / 414 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.2811, allocations: 129.1 kB / 414.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.2816, allocations: 153.7 kB / 414.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.2827, allocations: 0.5811 MB / 414.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.2827, allocations: 57.44 kB / 415 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.2828, allocations: 84.19 kB / 415 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.2841, allocations: 0.7839 MB / 415.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.2842, allocations: 5.078 kB / 415.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.2842, allocations: 32.34 kB / 415.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.2843, allocations: 18.78 kB / 415.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2853, allocations: 0.5227 MB / 416.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.2894, allocations: 3.271 MB / 419.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.2899, allocations: 225.7 kB / 419.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.2902, allocations: 106.7 kB / 420 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2902, allocations: 3.656 kB / 420 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2902, allocations: 35.5 kB / 420 MB, free: 9.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.2902, allocations: 1.062 kB / 420 MB, free: 9.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002038/0.2923, allocations: 0.9104 MB / 421 MB, free: 8.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.2923, allocations: 84.42 kB / 421 MB, free: 8.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2934, allocations: 0.7416 MB / 421.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2934, allocations: 26.98 kB / 421.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.2938, allocations: 0.5043 MB / 422.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.2939, allocations: 113.6 kB / 422.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.294, allocations: 112.9 kB / 422.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2942, allocations: 373.8 kB / 422.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.2945, allocations: 128.5 kB / 423 MB, free: 7.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.295, allocations: 414.5 kB / 423.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.2958, allocations: 0.5702 MB / 424 MB, free: 6.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2958, allocations: 2.75 kB / 424 MB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00103/0.2968, allocations: 0.6176 MB / 424.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2968, allocations: 9.156 kB / 424.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.2968, allocations: 10.25 kB / 424.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.297, allocations: 39.38 kB / 424.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.2974, allocations: 142.2 kB / 424.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2985, allocations: 1.289 MB / 426.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.2988, allocations: 28.27 kB / 426.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.2989, allocations: 30.69 kB / 426.2 MB, free: 4.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.2992, allocations: 239.9 kB / 426.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.2993, allocations: 74.19 kB / 426.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.2999, allocations: 326.3 kB / 426.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2999, allocations: 3.219 kB / 426.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2999, allocations: 0 / 426.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2999, allocations: 1.375 kB / 426.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.3015, allocations: 1.067 MB / 427.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3015, allocations: 6.5 kB / 427.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.3018, allocations: 59.97 kB / 427.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.507e-05/0.3018, allocations: 24.47 kB / 427.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3019, allocations: 8.25 kB / 428 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000934/0.3028, allocations: 1.275 MB / 429.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3028, allocations: 1.344 kB / 429.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.3037, allocations: 0.5552 MB / 429.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.3039, allocations: 100.9 kB / 429.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.304, allocations: 7.469 kB / 429.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.3043, allocations: 22.22 kB / 429.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3044, allocations: 32.28 kB / 429.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3044, allocations: 15.34 kB / 430 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006714/0.305, allocations: 0.5039 MB / 430.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.305, allocations: 0 / 430.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006143/0.3057, allocations: 163.9 kB / 430.6 MB, free: 0.7266 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001273/0.3069, allocations: 1.109 MB / 431.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008362/0.3078, allocations: 445.2 kB / 432.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3078, allocations: 3.938 kB / 432.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.3081, allocations: 235.1 kB / 432.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.309, allocations: 184.4 kB / 432.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.3179, allocations: 6.282 MB / 438.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.3185, allocations: 0.9449 MB / 439.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.3188, allocations: 90.02 kB / 439.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.3192, allocations: 303.3 kB / 440.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3192, allocations: 0 / 440.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.3634, allocations: 16 MB / 456.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.54, allocations: 4.062 kB / 456.2 MB, free: 6.574 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.89819674100727]