Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002319/0.002319, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.24, allocations: 53.4 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009914/0.25, allocations: 8.05 MB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.2548, allocations: 2.672 MB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008638/0.2557, allocations: 23.94 kB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.2571, allocations: 0.524 MB / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.2583, allocations: 440.7 kB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.2588, allocations: 219.6 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.2603, allocations: 1.236 MB / 445.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005765/0.2609, allocations: 366.5 kB / 445.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006982/0.2616, allocations: 0.498 MB / 446 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/0.2623, allocations: 0.5173 MB / 446.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.2624, allocations: 119.9 kB / 446.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.2627, allocations: 156 kB / 446.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2629, allocations: 231.2 kB / 447 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005416/0.2634, allocations: 0.5715 MB / 447.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.2651, allocations: 1.46 MB / 449 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.2651, allocations: 3.984 kB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2651, allocations: 0 / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.2651, allocations: 4 kB / 449 MB, free: 5.551 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.002264/0.2674, allocations: 1.26 MB / 450.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2674, allocations: 12.03 kB / 450.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.665e-05/0.2674, allocations: 26.19 kB / 450.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.2676, allocations: 135.5 kB / 450.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.2683, allocations: 176.2 kB / 450.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2693, allocations: 0.5842 MB / 451.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.2694, allocations: 61.94 kB / 451.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2695, allocations: 84 kB / 451.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.2709, allocations: 0.8184 MB / 452.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.2709, allocations: 7.953 kB / 452.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.271, allocations: 32 kB / 452.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.271, allocations: 24 kB / 452.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2721, allocations: 0.5465 MB / 452.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.2768, allocations: 3.453 MB / 456.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.2774, allocations: 225.5 kB / 456.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.2776, allocations: 112.7 kB / 456.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.2777, allocations: 11.94 kB / 456.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2777, allocations: 38.56 kB / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/0.2777, allocations: 0 / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002141/0.2798, allocations: 0.9386 MB / 457.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.2799, allocations: 85.05 kB / 457.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2809, allocations: 0.7702 MB / 458.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2809, allocations: 29.7 kB / 458.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.2813, allocations: 0.5267 MB / 459 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/0.2814, allocations: 115.1 kB / 459.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2816, allocations: 122.2 kB / 459.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.2818, allocations: 382.8 kB / 459.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.2821, allocations: 133.2 kB / 459.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.2826, allocations: 446.2 kB / 460.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.2835, allocations: 0.6138 MB / 460.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2835, allocations: 4 kB / 460.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001231/0.2848, allocations: 0.6502 MB / 461.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2848, allocations: 15.94 kB / 461.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.2848, allocations: 8 kB / 461.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.285, allocations: 37.47 kB / 461.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.2855, allocations: 159.7 kB / 461.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.2867, allocations: 1.287 MB / 462.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.2872, allocations: 39.94 kB / 463 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.2873, allocations: 35.94 kB / 463 MB, free: 6.727 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.0003638/0.2876, allocations: 237.5 kB / 463.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.2878, allocations: 87.55 kB / 463.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.2885, allocations: 330 kB / 463.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.2885, allocations: 3.938 kB / 463.6 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.2885, allocations: 7.938 kB / 463.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2885, allocations: 3.984 kB / 463.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.2905, allocations: 1.077 MB / 464.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2905, allocations: 224 / 464.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.2908, allocations: 67.89 kB / 464.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.291, allocations: 20.86 kB / 464.8 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.291, allocations: 15.98 kB / 464.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.292, allocations: 1.267 MB / 466.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.292, allocations: 3.938 kB / 466.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/0.293, allocations: 0.584 MB / 466.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.2933, allocations: 99.58 kB / 466.8 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.2934, allocations: 15.97 kB / 466.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.2937, allocations: 19.98 kB / 466.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.2938, allocations: 27.89 kB / 466.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.2938, allocations: 11.94 kB / 466.9 MB, free: 2.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007142/0.2945, allocations: 0.5186 MB / 467.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2945, allocations: 0 / 467.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007187/0.2952, allocations: 175.9 kB / 467.5 MB, free: 1.922 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.00144/0.2967, allocations: 1.138 MB / 468.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.2976, allocations: 460.9 kB / 469.1 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2976, allocations: 3.938 kB / 469.1 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.2981, allocations: 242.9 kB / 469.4 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.2991, allocations: 182.9 kB / 469.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/0.3088, allocations: 6.543 MB / 476.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.3095, allocations: 0.9487 MB / 477 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.3099, allocations: 94.17 kB / 477.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.3103, allocations: 315.3 kB / 477.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3103, allocations: 3.938 kB / 477.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05049/0.3608, allocations: 16.64 MB / 494.1 MB, free: 7.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.09, allocations: 7.828 kB / 494.1 MB, free: 7.047 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.06940716097597]