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.001491/0.001491, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.34 kB / 307.1 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1199, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01431/0.1343, allocations: 8.1 MB / 365.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.1397, allocations: 2.661 MB / 368.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.1402, allocations: 23.94 kB / 368.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1415, allocations: 0.5598 MB / 368.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009247/0.1424, allocations: 460.3 kB / 369.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1429, allocations: 259.7 kB / 369.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.1443, allocations: 1.471 MB / 371.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1445/0.2888, allocations: 0.5681 MB / 371.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009837/0.2899, allocations: 0.5514 MB / 372.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.2905, allocations: 0.5962 MB / 372.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.2907, allocations: 138.3 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.291, allocations: 179.2 kB / 373.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.2912, allocations: 277 kB / 373.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.2917, allocations: 0.6619 MB / 374.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.2934, allocations: 1.707 MB / 375.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2934, allocations: 0 / 375.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2934, allocations: 0 / 375.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.2935, allocations: 0 / 375.8 MB, free: 9.73 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.00229/0.2958, allocations: 1.451 MB / 377.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2958, allocations: 13 kB / 377.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.296, allocations: 154.4 kB / 377.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/0.2966, allocations: 185.6 kB / 377.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.2976, allocations: 0.7273 MB / 378.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.2977, allocations: 75.44 kB / 378.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2978, allocations: 93.59 kB / 378.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2992, allocations: 0.9345 MB / 379.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.2993, allocations: 9.516 kB / 379.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.2993, allocations: 39.38 kB / 379.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.2994, allocations: 27.22 kB / 379.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3005, allocations: 0.6333 MB / 380.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.3048, allocations: 3.924 MB / 384 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.3055, allocations: 445.9 kB / 384.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.306, allocations: 261.4 kB / 384.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.306, allocations: 5.266 kB / 384.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.306, allocations: 41.84 kB / 384.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.033e-06/0.3061, allocations: 4 kB / 384.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002379/0.3084, allocations: 1.394 MB / 386.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3085, allocations: 86.45 kB / 386.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.3095, allocations: 0.8222 MB / 387.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3095, allocations: 36.02 kB / 387.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3098, allocations: 0.5529 MB / 387.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.3099, allocations: 154.2 kB / 387.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3101, allocations: 135.5 kB / 387.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.3101, allocations: 333.8 kB / 388.3 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3105, allocations: 168.2 kB / 388.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.3109, allocations: 456.9 kB / 388.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.3116, allocations: 0.6652 MB / 389.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.3116, allocations: 4.094 kB / 389.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001175/0.3128, allocations: 0.766 MB / 390.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3128, allocations: 13.34 kB / 390.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.3129, allocations: 8.438 kB / 390.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.3131, allocations: 82.59 kB / 390.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.3136, allocations: 156.8 kB / 390.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.3157, allocations: 3.147 MB / 393.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.3163, allocations: 37.22 kB / 393.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.3164, allocations: 32.12 kB / 393.8 MB, free: 14.82 MB / 318.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.0003664/0.3168, allocations: 264.4 kB / 394 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3169, allocations: 96.09 kB / 394.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.3178, allocations: 478.8 kB / 394.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3178, allocations: 3.969 kB / 394.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3178, allocations: 5.141 kB / 394.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3178, allocations: 4.781 kB / 394.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.3203, allocations: 1.436 MB / 396 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.3203, allocations: 1.375 kB / 396.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.3206, allocations: 70.33 kB / 396.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.3208, allocations: 76.17 kB / 396.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.3209, allocations: 9.406 kB / 396.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.3232, allocations: 3.145 MB / 399.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3232, allocations: 5.125 kB / 399.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3244, allocations: 0.7541 MB / 400.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.3247, allocations: 200.8 kB / 400.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.3249, allocations: 13.44 kB / 400.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.3253, allocations: 29.67 kB / 400.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.3254, allocations: 31.08 kB / 400.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.3255, allocations: 19 kB / 400.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000771/0.3262, allocations: 0.5595 MB / 401 MB, free: 9.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.3262, allocations: 1.219 kB / 401 MB, free: 9.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009201/0.3272, allocations: 207.7 kB / 401.2 MB, free: 9.332 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.001537/0.3287, allocations: 1.339 MB / 402.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3299, allocations: 0.6959 MB / 403.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3299, allocations: 8.188 kB / 403.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.3306, allocations: 442.2 kB / 403.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3317, allocations: 226.1 kB / 403.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009987/0.3417, allocations: 7.824 MB / 411.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.3423, allocations: 1.001 MB / 412.7 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004529/0.3428, allocations: 107.2 kB / 412.8 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.3432, allocations: 378.3 kB / 413.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3433, allocations: 4 kB / 413.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.133/2.476, allocations: 18.7 MB / 431.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/16.54, allocations: 1.125 kB / 431.9 MB, free: 13.29 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