Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08591, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1643/0.2502, allocations: 7.909 MB / 382.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.2538, allocations: 2.628 MB / 385.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.2543, allocations: 19.44 kB / 385.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.2554, allocations: 0.4967 MB / 385.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006767/0.2561, allocations: 404.2 kB / 386.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.2565, allocations: 211.4 kB / 386.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.2574, allocations: 1.235 MB / 387.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.258, allocations: 0.5307 MB / 388.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004884/0.2585, allocations: 479.6 kB / 388.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.2591, allocations: 0.5223 MB / 389.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.2593, allocations: 115 kB / 389.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.2596, allocations: 151.2 kB / 389.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2597, allocations: 236.3 kB / 389.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.2601, allocations: 0.5611 MB / 390.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.2615, allocations: 1.465 MB / 391.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2616, allocations: 4 kB / 391.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2616, allocations: 3.938 kB / 391.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.2616, allocations: 1.031 kB / 391.6 MB, free: 4.867 MB / 318.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.001857/0.2634, allocations: 1.332 MB / 392.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2635, allocations: 8.844 kB / 392.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.2636, allocations: 136.2 kB / 393.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.2641, allocations: 155 kB / 393.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.2649, allocations: 0.6448 MB / 393.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.265, allocations: 63.97 kB / 393.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2651, allocations: 88.2 kB / 394 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.2663, allocations: 0.8226 MB / 394.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.2664, allocations: 3.453 kB / 394.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.2664, allocations: 35.72 kB / 394.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.2665, allocations: 21.52 kB / 394.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.2674, allocations: 0.5445 MB / 395.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.2709, allocations: 3.566 MB / 399 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.2714, allocations: 244.9 kB / 399.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.2717, allocations: 123 kB / 399.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.2717, allocations: 7.656 kB / 399.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2718, allocations: 38.25 kB / 399.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.2718, allocations: 0 / 399.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00205/0.2739, allocations: 1.079 MB / 400.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.2739, allocations: 88.67 kB / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.2749, allocations: 0.765 MB / 401.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2749, allocations: 30.73 kB / 401.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.2753, allocations: 0.5241 MB / 401.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.2754, allocations: 113.7 kB / 402 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.2756, allocations: 126 kB / 402.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2757, allocations: 381.9 kB / 402.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.276, allocations: 130.5 kB / 402.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.2765, allocations: 445.5 kB / 403.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.2774, allocations: 0.619 MB / 403.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2774, allocations: 2.688 kB / 403.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001129/0.2785, allocations: 0.6466 MB / 404.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2785, allocations: 13.59 kB / 404.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2786, allocations: 11.28 kB / 404.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.2787, allocations: 33.88 kB / 404.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.2792, allocations: 153.7 kB / 404.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.2803, allocations: 1.4 MB / 405.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2808, allocations: 42.23 kB / 406 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.2809, allocations: 31.78 kB / 406 MB, free: 10.88 MB / 334.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.0003229/0.2812, allocations: 242.8 kB / 406.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2813, allocations: 83.3 kB / 406.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.282, allocations: 332.1 kB / 406.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.282, allocations: 8.797 kB / 406.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.282, allocations: 4.969 kB / 406.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.282, allocations: 1.453 kB / 406.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.2837, allocations: 1.123 MB / 407.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2837, allocations: 2.625 kB / 407.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.284, allocations: 66.14 kB / 407.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.578e-05/0.2841, allocations: 20.61 kB / 407.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2841, allocations: 8.188 kB / 407.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.2852, allocations: 1.376 MB / 409.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.2852, allocations: 6.25 kB / 409.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009321/0.2861, allocations: 0.5798 MB / 409.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.2864, allocations: 174.7 kB / 410 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.2865, allocations: 11.39 kB / 410 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.2868, allocations: 23.23 kB / 410.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.2869, allocations: 22.72 kB / 410.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.2869, allocations: 11.78 kB / 410.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007152/0.2876, allocations: 0.5224 MB / 410.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2876, allocations: 1.094 kB / 410.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007477/0.2884, allocations: 170.8 kB / 410.8 MB, free: 7.199 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 (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.2898, allocations: 1.135 MB / 411.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.2908, allocations: 487.4 kB / 412.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2908, allocations: 2.531 kB / 412.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2912, allocations: 247.5 kB / 412.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/0.2922, allocations: 185 kB / 412.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.3018, allocations: 6.525 MB / 419.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.3025, allocations: 0.9547 MB / 420.3 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.3028, allocations: 91.55 kB / 420.4 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.3033, allocations: 316.6 kB / 420.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3033, allocations: 4 kB / 420.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04703/0.3503, allocations: 16.05 MB / 436.7 MB, free: 152 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.44, allocations: 12.06 kB / 436.8 MB, free: 140 kB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches