Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 185.3 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 47.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2444, allocations: 52.18 MB / 423.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009333/0.2537, allocations: 7.041 MB / 430.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.2583, allocations: 2.437 MB / 432.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.2591, allocations: 19.94 kB / 432.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.2604, allocations: 489 kB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2614, allocations: 432.8 kB / 433.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.2619, allocations: 211.7 kB / 434 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.2633, allocations: 1.237 MB / 435.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.2639, allocations: 366.5 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.2645, allocations: 0.4942 MB / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.2652, allocations: 0.5173 MB / 436.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.2653, allocations: 112 kB / 436.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.2656, allocations: 164 kB / 436.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.2658, allocations: 235.1 kB / 437.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.2663, allocations: 469.9 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.268, allocations: 1.475 MB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.268, allocations: 0 / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.268, allocations: 0 / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.268, allocations: 0 / 439 MB, free: 14.83 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.002234/0.2702, allocations: 1.252 MB / 440.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2703, allocations: 20.02 kB / 440.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.333e-05/0.2703, allocations: 22.19 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.2704, allocations: 135.4 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/0.2709, allocations: 152.2 kB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.272, allocations: 0.5881 MB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.272, allocations: 65.94 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.2722, allocations: 87.95 kB / 441.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2736, allocations: 0.8725 MB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.2736, allocations: 0 / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.2737, allocations: 32 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.2737, allocations: 20 kB / 442.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2748, allocations: 0.5465 MB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.2792, allocations: 3.084 MB / 445.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.2797, allocations: 229.6 kB / 446.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.28, allocations: 112.7 kB / 446.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.28, allocations: 8 kB / 446.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.28, allocations: 38.56 kB / 446.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.28, allocations: 0 / 446.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002157/0.2822, allocations: 0.9313 MB / 447.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.2823, allocations: 81.11 kB / 447.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2833, allocations: 0.7702 MB / 448 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2833, allocations: 29.7 kB / 448.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.2838, allocations: 0.5228 MB / 448.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.2839, allocations: 119 kB / 448.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.2841, allocations: 118.2 kB / 448.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2842, allocations: 382.8 kB / 449.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.2845, allocations: 133.2 kB / 449.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.2851, allocations: 483.9 kB / 449.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.286, allocations: 0.6102 MB / 450.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.286, allocations: 0 / 450.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001144/0.2871, allocations: 0.6502 MB / 451.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2872, allocations: 11.94 kB / 451.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.2872, allocations: 12 kB / 451.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.2874, allocations: 36.84 kB / 451.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.2878, allocations: 147.7 kB / 451.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.2889, allocations: 1.283 MB / 452.5 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.2894, allocations: 39.94 kB / 452.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.2894, allocations: 39.92 kB / 452.6 MB, free: 376 kB / 350.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.0003336/0.2898, allocations: 241.7 kB / 452.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2899, allocations: 83.42 kB / 452.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.2906, allocations: 333.9 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2906, allocations: 4 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2906, allocations: 3.938 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2906, allocations: 3.938 kB / 453.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.2923, allocations: 1.015 MB / 454.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2923, allocations: 4 kB / 454.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.2926, allocations: 67.89 kB / 454.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/0.2926, allocations: 16.84 kB / 454.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2926, allocations: 8.219 kB / 454.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.2937, allocations: 1.276 MB / 455.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2937, allocations: 0 / 455.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009348/0.2946, allocations: 0.5847 MB / 456.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.2948, allocations: 95.53 kB / 456.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.2949, allocations: 8 kB / 456.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.2953, allocations: 23.97 kB / 456.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.2953, allocations: 27.91 kB / 456.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2954, allocations: 11.94 kB / 456.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007355/0.2961, allocations: 0.5186 MB / 456.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2961, allocations: 0 / 456.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007127/0.2968, allocations: 175.9 kB / 457.1 MB, free: 11.63 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.001401/0.2982, allocations: 1.134 MB / 458.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009954/0.2992, allocations: 472.2 kB / 458.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2992, allocations: 0 / 458.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.2996, allocations: 236.2 kB / 458.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.3005, allocations: 182.7 kB / 459.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/0.31, allocations: 6.522 MB / 465.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3104, allocations: 361.3 kB / 466 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.3109, allocations: 94.17 kB / 466.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.3113, allocations: 319.3 kB / 466.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3113, allocations: 3.938 kB / 466.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.3605, allocations: 17.31 MB / 483.7 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.76, allocations: 7.922 kB / 483.7 MB, free: 0.8398 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.29630235489458]