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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.94 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09276, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009272/0.1021, allocations: 8.088 MB / 367 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004538/0.1066, allocations: 2.673 MB / 369.7 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.1074, allocations: 23.94 kB / 369.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.1089, allocations: 0.5558 MB / 370.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.11, allocations: 464.3 kB / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1105, allocations: 259.7 kB / 371 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1533/0.2638, allocations: 1.469 MB / 372.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.2649, allocations: 0.585 MB / 373 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.266, allocations: 0.5482 MB / 373.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.2671, allocations: 0.5986 MB / 374.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.2674, allocations: 140.5 kB / 374.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.2678, allocations: 181.8 kB / 374.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.268, allocations: 278.5 kB / 374.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.2686, allocations: 0.6615 MB / 375.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.2705, allocations: 1.722 MB / 377.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2705, allocations: 5.312 kB / 377.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2705, allocations: 0.6562 kB / 377.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.2705, allocations: 0 / 377.1 MB, free: 10.53 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.002341/0.2729, allocations: 1.451 MB / 378.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2729, allocations: 9.688 kB / 378.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/0.2736, allocations: 183.8 kB / 378.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2748, allocations: 0.7421 MB / 379.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.2748, allocations: 71.91 kB / 379.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.275, allocations: 96.61 kB / 379.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2765, allocations: 0.9363 MB / 380.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.2765, allocations: 7.062 kB / 380.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.2766, allocations: 41.62 kB / 380.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.2767, allocations: 23.66 kB / 380.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2778, allocations: 0.6348 MB / 381.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.2824, allocations: 3.879 MB / 385.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.283, allocations: 455 kB / 385.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.2836, allocations: 265.5 kB / 385.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.2836, allocations: 4.984 kB / 385.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2836, allocations: 40.17 kB / 385.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.2836, allocations: 1.406 kB / 386 MB, free: 5.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00234/0.286, allocations: 1.385 MB / 387.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.286, allocations: 86.39 kB / 387.4 MB, free: 4.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.2871, allocations: 0.8237 MB / 388.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2871, allocations: 35.92 kB / 388.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.2874, allocations: 0.5547 MB / 388.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.2875, allocations: 162.9 kB / 389 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.2876, allocations: 129 kB / 389.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.2877, allocations: 337.2 kB / 389.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.288, allocations: 167 kB / 389.6 MB, free: 3.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.2884, allocations: 458.7 kB / 390.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.2891, allocations: 0.6544 MB / 390.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2892, allocations: 6.938 kB / 390.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001176/0.2903, allocations: 0.7694 MB / 391.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2904, allocations: 9.938 kB / 391.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2904, allocations: 10.31 kB / 391.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.2906, allocations: 79.09 kB / 391.6 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.2911, allocations: 155.1 kB / 391.7 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.2931, allocations: 3.146 MB / 394.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.2937, allocations: 37.97 kB / 394.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.2937, allocations: 32.66 kB / 395 MB, free: 15.11 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.00039/0.2941, allocations: 258.1 kB / 395.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.2943, allocations: 93.09 kB / 395.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.2952, allocations: 484.5 kB / 395.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.2952, allocations: 8.906 kB / 395.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2952, allocations: 4.953 kB / 395.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2952, allocations: 2.625 kB / 395.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.2973, allocations: 1.435 MB / 397.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2973, allocations: 3.906 kB / 397.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.2976, allocations: 72.02 kB / 397.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.2978, allocations: 78.7 kB / 397.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.2979, allocations: 10.58 kB / 397.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.3001, allocations: 3.127 MB / 400.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3001, allocations: 9.531 kB / 400.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3013, allocations: 0.7612 MB / 401.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.3016, allocations: 197 kB / 401.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3017, allocations: 9 kB / 401.5 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.3022, allocations: 34.12 kB / 401.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.3023, allocations: 34.59 kB / 401.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.3023, allocations: 21.83 kB / 401.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.3031, allocations: 0.557 MB / 402.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3031, allocations: 0 / 402.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000875/0.304, allocations: 212.6 kB / 402.3 MB, free: 9.617 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.0002028/0.3042, allocations: 118.3 kB / 402.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3053, allocations: 0.6869 MB / 403.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3053, allocations: 4.312 kB / 403.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.3059, allocations: 440.3 kB / 403.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3069, allocations: 226.3 kB / 403.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3095, allocations: 1.708 MB / 405.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.31, allocations: 0.9996 MB / 406.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.3103, allocations: 110.1 kB / 406.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3105, allocations: 54.38 kB / 406.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3105, allocations: 2.812 kB / 406.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of Templates: time 0.01844/0.3289, allocations: 10.55 MB / 417.2 MB, free: 13.25 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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