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.0008505/0.0008506, allocations: 97.28 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009559/0.000956, allocations: 205.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001882/0.0001883, allocations: 8 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07744/0.07764, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006909/0.08457, allocations: 7.464 MB / 366.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.08826, allocations: 2.598 MB / 369.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006204/0.0889, allocations: 23.94 kB / 369.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.09007, allocations: 453.6 kB / 369.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.09095, allocations: 345.5 kB / 370.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.09136, allocations: 191.8 kB / 370.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.0925, allocations: 1.171 MB / 371.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.09311, allocations: 475.8 kB / 372.1 MB, free: 428 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005244/0.09364, allocations: 406 kB / 372.5 MB, free: 20 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1436/0.2372, allocations: 445.3 kB / 372.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.2375, allocations: 54.97 kB / 372.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.2383, allocations: 96.66 kB / 373 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.2386, allocations: 172.6 kB / 373.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007587/0.2393, allocations: 0.5139 MB / 373.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.2408, allocations: 1.368 MB / 375.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2408, allocations: 2.062 kB / 375.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2408, allocations: 2.25 kB / 375.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.2408, allocations: 0 / 375.1 MB, free: 10.42 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.001739/0.2426, allocations: 1.151 MB / 376.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2426, allocations: 9.281 kB / 376.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.2428, allocations: 132.6 kB / 376.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006707/0.2435, allocations: 185 kB / 376.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.2443, allocations: 0.6351 MB / 377.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.2444, allocations: 62.72 kB / 377.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2445, allocations: 84.91 kB / 377.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2458, allocations: 0.8299 MB / 378.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.2459, allocations: 6.719 kB / 378.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.2459, allocations: 35.09 kB / 378.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.246, allocations: 20.59 kB / 378.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009808/0.2469, allocations: 0.556 MB / 378.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.2505, allocations: 3.589 MB / 382.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.251, allocations: 250.5 kB / 382.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.2512, allocations: 127.5 kB / 382.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.2512, allocations: 7.797 kB / 382.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2513, allocations: 33.06 kB / 382.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.2513, allocations: 3.938 kB / 382.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001763/0.253, allocations: 1.116 MB / 383.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.2531, allocations: 83.55 kB / 384 MB, free: 6.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.2539, allocations: 0.7679 MB / 384.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.254, allocations: 31.89 kB / 384.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.2542, allocations: 0.514 MB / 385.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.2543, allocations: 110.2 kB / 385.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.2544, allocations: 55.28 kB / 385.5 MB, free: 5.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.2545, allocations: 381.6 kB / 385.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.2547, allocations: 137 kB / 386 MB, free: 5.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.2551, allocations: 458.9 kB / 386.4 MB, free: 5.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.2558, allocations: 0.6271 MB / 387 MB, free: 4.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2558, allocations: 3.562 kB / 387.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009688/0.2568, allocations: 0.6548 MB / 387.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.2568, allocations: 12.19 kB / 387.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.2569, allocations: 15.03 kB / 387.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.257, allocations: 40.38 kB / 387.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.2574, allocations: 152.9 kB / 387.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.258, allocations: 1.3 MB / 389.2 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.2585, allocations: 49.39 kB / 389.3 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.2585, allocations: 35.2 kB / 389.3 MB, free: 2.91 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.0002371/0.2588, allocations: 247.9 kB / 389.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.2589, allocations: 78.97 kB / 389.6 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.2595, allocations: 346.2 kB / 390 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2595, allocations: 3.781 kB / 390 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2595, allocations: 2.906 kB / 390 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2595, allocations: 1.375 kB / 390 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.2608, allocations: 1.133 MB / 391.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2609, allocations: 1.344 kB / 391.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.2611, allocations: 74.12 kB / 391.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.396e-05/0.2612, allocations: 16.55 kB / 391.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2612, allocations: 12.16 kB / 391.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005056/0.2617, allocations: 1.271 MB / 392.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2618, allocations: 8.312 kB / 392.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007615/0.2625, allocations: 0.5927 MB / 393.1 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2627, allocations: 175.6 kB / 393.2 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.2628, allocations: 16.25 kB / 393.3 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.2631, allocations: 23.27 kB / 393.3 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.2631, allocations: 36.73 kB / 393.3 MB, free: 0 / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2632, allocations: 9.156 kB / 393.3 MB, free: 0 / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006589/0.2638, allocations: 0.5203 MB / 393.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2638, allocations: 0 / 393.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.2644, allocations: 174.6 kB / 394 MB, free: 15.77 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.001204/0.2657, allocations: 1.162 MB / 395.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.2664, allocations: 491.1 kB / 395.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2665, allocations: 5.156 kB / 395.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.2668, allocations: 251.2 kB / 395.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.2679, allocations: 169.2 kB / 396.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/0.2768, allocations: 7.371 MB / 403.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.2773, allocations: 0.9605 MB / 404.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.2776, allocations: 94.53 kB / 404.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.2779, allocations: 316.9 kB / 404.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2779, allocations: 0 / 404.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3038, allocations: 14.97 MB / 419.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.304, allocations: 239.1 kB / 420 MB, free: 10.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.186, allocations: 0 / 420 MB, free: 10.46 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