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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009413/0.0009413, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07952, allocations: 50.53 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008453/0.088, allocations: 7.955 MB / 364.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.09154, allocations: 2.633 MB / 367.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.09189, allocations: 20 kB / 367.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.09298, allocations: 449.5 kB / 367.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.09361, allocations: 349.5 kB / 368.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.09399, allocations: 191.8 kB / 368.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.09496, allocations: 1.182 MB / 369.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005847/0.09555, allocations: 471.8 kB / 370.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.09605, allocations: 446.1 kB / 370.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.09653, allocations: 0.4899 MB / 371 MB, free: 168 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.09664, allocations: 76 kB / 371.1 MB, free: 92 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1309/0.2276, allocations: 115.6 kB / 371.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.2278, allocations: 191.1 kB / 371.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.2285, allocations: 0.5297 MB / 371.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.2298, allocations: 1.407 MB / 373.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2298, allocations: 0 / 373.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2298, allocations: 0.75 kB / 373.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.2298, allocations: 0.625 kB / 373.3 MB, free: 11.14 MB / 302.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.001901/0.2317, allocations: 1.304 MB / 374.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2318, allocations: 11.91 kB / 374.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.2319, allocations: 135.5 kB / 374.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006859/0.2326, allocations: 172.9 kB / 375 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.2334, allocations: 0.6339 MB / 375.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.2335, allocations: 64.06 kB / 375.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2336, allocations: 85.53 kB / 375.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.2349, allocations: 0.8215 MB / 376.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.2349, allocations: 3.406 kB / 376.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.235, allocations: 38.31 kB / 376.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.235, allocations: 22 kB / 376.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.236, allocations: 0.5378 MB / 377.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.2395, allocations: 3.584 MB / 380.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.24, allocations: 236.7 kB / 381 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.2403, allocations: 119.9 kB / 381.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2403, allocations: 9.688 kB / 381.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.2403, allocations: 37.84 kB / 381.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.2403, allocations: 0 / 381.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001769/0.2421, allocations: 1.076 MB / 382.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.2421, allocations: 85.47 kB / 382.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.243, allocations: 0.7682 MB / 383.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.243, allocations: 29.7 kB / 383.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.2433, allocations: 0.5115 MB / 383.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.2433, allocations: 110.4 kB / 383.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2435, allocations: 122.3 kB / 383.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.2436, allocations: 385.6 kB / 384.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.2438, allocations: 126 kB / 384.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.2442, allocations: 445 kB / 384.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.2449, allocations: 0.6111 MB / 385.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2449, allocations: 7.562 kB / 385.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009947/0.2459, allocations: 0.646 MB / 386 MB, free: 4.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2459, allocations: 9.781 kB / 386 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2459, allocations: 11.5 kB / 386.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.2461, allocations: 39.3 kB / 386.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.2465, allocations: 148.4 kB / 386.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006518/0.2472, allocations: 1.298 MB / 387.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.2477, allocations: 51.91 kB / 387.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.2477, allocations: 31.77 kB / 387.6 MB, free: 3.039 MB / 302.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.0002491/0.248, allocations: 243.8 kB / 387.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.2481, allocations: 78.66 kB / 387.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/0.2487, allocations: 338.8 kB / 388.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2487, allocations: 3.438 kB / 388.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2487, allocations: 1.062 kB / 388.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2487, allocations: 1.875 kB / 388.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2502, allocations: 1.113 MB / 389.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2502, allocations: 10.05 kB / 389.4 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.2504, allocations: 61.53 kB / 389.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/0.2505, allocations: 32.23 kB / 389.5 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2506, allocations: 7.781 kB / 389.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000563/0.2511, allocations: 1.276 MB / 390.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2511, allocations: 2.5 kB / 390.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.252, allocations: 0.5711 MB / 391.3 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2521, allocations: 177.1 kB / 391.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.2522, allocations: 8.156 kB / 391.5 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.2526, allocations: 25.64 kB / 391.5 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.2527, allocations: 27.05 kB / 391.6 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2527, allocations: 14.97 kB / 391.6 MB, free: 140 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006395/0.2533, allocations: 0.5154 MB / 392.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2533, allocations: 1.125 kB / 392.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006597/0.254, allocations: 170.5 kB / 392.3 MB, free: 15.89 MB / 318.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.001238/0.2553, allocations: 1.13 MB / 393.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008347/0.2561, allocations: 482.5 kB / 393.9 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2561, allocations: 1.156 kB / 393.9 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.2565, allocations: 241.9 kB / 394.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2575, allocations: 172.1 kB / 394.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009708/0.2672, allocations: 7.247 MB / 401.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.2677, allocations: 0.9599 MB / 402.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.2681, allocations: 91.45 kB / 402.6 MB, free: 8.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.2685, allocations: 316.3 kB / 402.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2685, allocations: 0 / 402.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.2954, allocations: 15.16 MB / 418 MB, free: 11.78 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.2956, allocations: 245 kB / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.268, allocations: 0 / 418.3 MB, free: 11.52 MB / 334.1 MB (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 --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) 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.0.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) Reference file matches