Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 103.4 kB / 17.2 MB, free: 6.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 205.8 kB / 18.13 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 60.31 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.08118, allocations: 50.53 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008218/0.08942, allocations: 8.072 MB / 365 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.09311, allocations: 2.646 MB / 367.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.09383, allocations: 27.94 kB / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.0952, allocations: 0.4942 MB / 368.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009873/0.0962, allocations: 404.7 kB / 368.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.09661, allocations: 215.8 kB / 368.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.0977, allocations: 1.404 MB / 370.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.09831, allocations: 0.4967 MB / 370.6 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.0988, allocations: 0.4978 MB / 371.1 MB, free: 92 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1366/0.2354, allocations: 0.5649 MB / 371.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.2357, allocations: 84.34 kB / 371.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.2361, allocations: 120.5 kB / 371.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.2362, allocations: 225.6 kB / 372.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.2368, allocations: 0.6083 MB / 372.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.2383, allocations: 1.662 MB / 374.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2383, allocations: 0 / 374.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2383, allocations: 3.125 kB / 374.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.2383, allocations: 0 / 374.4 MB, free: 10.62 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002247/0.2406, allocations: 1.455 MB / 375.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2406, allocations: 12.41 kB / 375.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.2408, allocations: 150.2 kB / 376 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.2415, allocations: 182.9 kB / 376.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000949/0.2424, allocations: 0.7308 MB / 376.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.2425, allocations: 76.97 kB / 377 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.2426, allocations: 97.06 kB / 377.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.2441, allocations: 0.9318 MB / 378 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.2441, allocations: 9.953 kB / 378 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.2442, allocations: 39.84 kB / 378.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.2442, allocations: 26.19 kB / 378.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2454, allocations: 0.6367 MB / 378.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004191/0.2496, allocations: 3.915 MB / 382.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.2502, allocations: 444.3 kB / 383.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.2507, allocations: 261.8 kB / 383.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.2507, allocations: 4.5 kB / 383.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2508, allocations: 45.2 kB / 383.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.2508, allocations: 0 / 383.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002264/0.253, allocations: 1.392 MB / 384.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.2531, allocations: 82.05 kB / 384.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.2541, allocations: 0.8291 MB / 385.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2541, allocations: 31.86 kB / 385.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.2544, allocations: 0.5565 MB / 386.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.2544, allocations: 157.1 kB / 386.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2546, allocations: 133.3 kB / 386.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.2547, allocations: 335.1 kB / 386.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.255, allocations: 164.9 kB / 387 MB, free: 4.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.2554, allocations: 460.7 kB / 387.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.2561, allocations: 0.6605 MB / 388.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2561, allocations: 2.188 kB / 388.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001163/0.2573, allocations: 0.7662 MB / 388.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.2573, allocations: 8.938 kB / 388.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2574, allocations: 9.688 kB / 388.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.2576, allocations: 84.52 kB / 389 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2581, allocations: 152.9 kB / 389.2 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.2596, allocations: 2.875 MB / 392 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.2601, allocations: 40.8 kB / 392.1 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2602, allocations: 36.06 kB / 392.1 MB, free: 52 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003341/0.2605, allocations: 259.4 kB / 392.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2606, allocations: 86.28 kB / 392.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.2615, allocations: 489 kB / 392.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2615, allocations: 11.34 kB / 392.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2616, allocations: 2.25 kB / 392.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2616, allocations: 0 / 392.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.2635, allocations: 1.432 MB / 394.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2636, allocations: 6.344 kB / 394.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.2639, allocations: 80.25 kB / 394.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.2641, allocations: 71.53 kB / 394.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.2641, allocations: 13.09 kB / 394.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.2661, allocations: 2.87 MB / 397.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2661, allocations: 4.078 kB / 397.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2673, allocations: 0.7555 MB / 398.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.2676, allocations: 200.7 kB / 398.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2677, allocations: 9.125 kB / 398.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.2681, allocations: 30.64 kB / 398.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.2682, allocations: 35.86 kB / 398.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.2682, allocations: 14.03 kB / 398.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007255/0.269, allocations: 0.5639 MB / 399 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.269, allocations: 0 / 399 MB, free: 10.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008095/0.2698, allocations: 205.7 kB / 399.2 MB, free: 10.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001518/0.2713, allocations: 1.342 MB / 400.6 MB, free: 9.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.2724, allocations: 0.6738 MB / 401.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2724, allocations: 3.047 kB / 401.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.273, allocations: 443.6 kB / 401.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.2741, allocations: 217 kB / 401.9 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.285, allocations: 8.207 MB / 410.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.2856, allocations: 1.001 MB / 411.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004407/0.286, allocations: 111.2 kB / 411.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.2864, allocations: 375.3 kB / 411.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2864, allocations: 0 / 411.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.3171, allocations: 18.08 MB / 429.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.3173, allocations: 236.9 kB / 429.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.388, allocations: 0 / 429.9 MB, free: 15.39 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches