Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.0014/0.0014, allocations: 107.1 kB / 20.44 MB, free: 1.184 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.001551/0.001551, allocations: 206.4 kB / 23.72 MB, free: 4.398 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 43.94 kB / 377.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009548/0.2438, allocations: 7.066 MB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.2481, allocations: 2.481 MB / 440.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.2486, allocations: 31.88 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2498, allocations: 477 kB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008988/0.2507, allocations: 432.8 kB / 441.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.2512, allocations: 219.6 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.2525, allocations: 1.237 MB / 443 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.2531, allocations: 371.5 kB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.2538, allocations: 0.4903 MB / 443.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007353/0.2545, allocations: 0.5172 MB / 444.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.2547, allocations: 116 kB / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.255, allocations: 160 kB / 444.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.2552, allocations: 235.1 kB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.2557, allocations: 465.9 kB / 445.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.2575, allocations: 1.486 MB / 446.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2575, allocations: 4 kB / 446.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2575, allocations: 0 / 446.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.2576, allocations: 0 / 446.8 MB, free: 6.832 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002387/0.2599, allocations: 1.252 MB / 448.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.26, allocations: 8.031 kB / 448.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.2601, allocations: 131.5 kB / 448.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.2609, allocations: 180.2 kB / 448.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.262, allocations: 0.5881 MB / 449 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.262, allocations: 70.12 kB / 449.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2622, allocations: 80 kB / 449.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.2637, allocations: 0.8686 MB / 450 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2637, allocations: 11.94 kB / 450 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.2638, allocations: 36 kB / 450 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.2638, allocations: 24 kB / 450.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2649, allocations: 0.5348 MB / 450.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.2695, allocations: 3.065 MB / 453.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.27, allocations: 226.7 kB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.2703, allocations: 108.8 kB / 454 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.2703, allocations: 11.98 kB / 454 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2703, allocations: 30.56 kB / 454 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.2703, allocations: 4 kB / 454 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002132/0.2725, allocations: 0.9351 MB / 455 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.2725, allocations: 88.98 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2736, allocations: 0.7817 MB / 455.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.2736, allocations: 33.7 kB / 455.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.2741, allocations: 0.5306 MB / 456.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.2742, allocations: 115.1 kB / 456.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.2743, allocations: 122.2 kB / 456.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.2746, allocations: 378.8 kB / 457 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.2749, allocations: 129.2 kB / 457.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.2755, allocations: 475.9 kB / 457.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009161/0.2764, allocations: 0.6177 MB / 458.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2764, allocations: 4 kB / 458.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00118/0.2776, allocations: 0.6547 MB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2776, allocations: 11.94 kB / 458.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.2776, allocations: 12 kB / 458.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2778, allocations: 36.84 kB / 458.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.2782, allocations: 151.7 kB / 459.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.2795, allocations: 1.279 MB / 460.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.28, allocations: 48.09 kB / 460.4 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2801, allocations: 35.98 kB / 460.4 MB, free: 8.367 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003456/0.2804, allocations: 245.5 kB / 460.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.2805, allocations: 79.48 kB / 460.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007038/0.2812, allocations: 333.9 kB / 461.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2812, allocations: 4 kB / 461.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.2812, allocations: 7.938 kB / 461.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2812, allocations: 0 / 461.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.283, allocations: 0.9996 MB / 462.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.283, allocations: 4.219 kB / 462.1 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.2833, allocations: 67.89 kB / 462.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.534e-05/0.2834, allocations: 24.84 kB / 462.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.2835, allocations: 8 kB / 462.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.2845, allocations: 1.271 MB / 463.5 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2845, allocations: 3.938 kB / 463.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.2855, allocations: 0.5763 MB / 464.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.2858, allocations: 103.4 kB / 464.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.2859, allocations: 8 kB / 464.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.2862, allocations: 19.98 kB / 464.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.2863, allocations: 28.05 kB / 464.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2863, allocations: 15.98 kB / 464.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.2871, allocations: 0.5263 MB / 464.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2871, allocations: 0 / 464.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006956/0.2878, allocations: 164 kB / 464.9 MB, free: 3.645 MB / 366.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 (28): * Single equations (assignments): 27 * 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.001469/0.2893, allocations: 1.148 MB / 466.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009968/0.2902, allocations: 472.8 kB / 466.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2903, allocations: 3.938 kB / 466.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.2908, allocations: 243 kB / 466.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.2917, allocations: 188.5 kB / 466.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.3019, allocations: 6.521 MB / 473.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3023, allocations: 365.2 kB / 473.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003643/0.3027, allocations: 98.16 kB / 473.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.3031, allocations: 315.3 kB / 474.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of SimCode: time 1.903e-06/0.3031, allocations: 7.938 kB / 474.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/0.3573, allocations: 17.77 MB / 492 MB, free: 8.332 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.81, allocations: 14.36 kB / 492 MB, free: 8.32 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 15.905947521998314]