Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 117.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002184/0.002184, allocations: 208.6 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.528/1.528, allocations: 230.4 MB / 250 MB, free: 9.043 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.84 kB / 367.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 53.31 MB / 420.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009632/0.2749, allocations: 8.121 MB / 428.8 MB, free: 144 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004413/0.2793, allocations: 2.673 MB / 431.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006799/0.28, allocations: 27.94 kB / 431.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.2814, allocations: 0.5753 MB / 432.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2825, allocations: 0.4925 MB / 432.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.283, allocations: 251.7 kB / 432.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.2845, allocations: 1.463 MB / 434.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006241/0.2851, allocations: 402.8 kB / 434.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.2859, allocations: 0.5642 MB / 435.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000698/0.2866, allocations: 0.6026 MB / 435.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.2867, allocations: 140 kB / 436 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.287, allocations: 176 kB / 436.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.2873, allocations: 275 kB / 436.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.2879, allocations: 0.6648 MB / 437.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.2897, allocations: 1.728 MB / 438.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2897, allocations: 0 / 438.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2897, allocations: 4 kB / 438.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.2897, allocations: 0 / 438.8 MB, free: 6.066 MB / 350.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.002386/0.2921, allocations: 1.482 MB / 440.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2922, allocations: 8.031 kB / 440.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006444/0.2928, allocations: 200 kB / 440.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.294, allocations: 0.7423 MB / 441.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.294, allocations: 78 kB / 441.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2942, allocations: 103.9 kB / 441.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2958, allocations: 0.9346 MB / 442.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.2958, allocations: 4 kB / 442.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.2959, allocations: 47.98 kB / 442.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.2959, allocations: 24 kB / 442.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2972, allocations: 0.6324 MB / 443 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/0.3023, allocations: 3.893 MB / 446.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.303, allocations: 432.8 kB / 447.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.3036, allocations: 249.3 kB / 447.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.3036, allocations: 4.328 kB / 447.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3036, allocations: 38.89 kB / 447.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.3036, allocations: 0 / 447.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002633/0.3063, allocations: 1.419 MB / 449.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3063, allocations: 89.09 kB / 449.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3074, allocations: 0.8175 MB / 450 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3075, allocations: 33.7 kB / 450 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.3079, allocations: 0.5658 MB / 450.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.308, allocations: 170.6 kB / 450.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.3082, allocations: 130.6 kB / 450.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3084, allocations: 334 kB / 451.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.3087, allocations: 169.9 kB / 451.4 MB, free: 9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.3093, allocations: 456 kB / 451.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.3102, allocations: 0.6661 MB / 452.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3102, allocations: 8 kB / 452.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001358/0.3116, allocations: 0.771 MB / 453.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3116, allocations: 12 kB / 453.3 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3116, allocations: 8 kB / 453.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.3119, allocations: 81.88 kB / 453.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.3124, allocations: 155.7 kB / 453.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.3151, allocations: 3.131 MB / 456.6 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.3157, allocations: 39.94 kB / 456.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.3157, allocations: 32.16 kB / 456.7 MB, free: 3.086 MB / 366.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.0003723/0.3161, allocations: 269.5 kB / 457 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3162, allocations: 95.42 kB / 457.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009542/0.3172, allocations: 491.5 kB / 457.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3172, allocations: 4 kB / 457.5 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3172, allocations: 3.938 kB / 457.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3172, allocations: 3.984 kB / 457.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.3195, allocations: 1.435 MB / 459 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3195, allocations: 4.219 kB / 459 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3198, allocations: 67.91 kB / 459.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.32, allocations: 81.73 kB / 459.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.3201, allocations: 8 kB / 459.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3228, allocations: 3.13 MB / 462.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3228, allocations: 4.031 kB / 462.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.3242, allocations: 0.7626 MB / 463 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.3245, allocations: 212.5 kB / 463.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.3246, allocations: 11.94 kB / 463.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.325, allocations: 24.11 kB / 463.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3251, allocations: 31.95 kB / 463.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.3251, allocations: 20 kB / 463.3 MB, free: 12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008445/0.326, allocations: 0.5615 MB / 463.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.326, allocations: 0 / 463.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008494/0.3268, allocations: 211.9 kB / 464.1 MB, free: 11.23 MB / 382.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.0002261/0.327, allocations: 123.4 kB / 464.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3283, allocations: 0.6628 MB / 464.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3283, allocations: 0 / 464.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.329, allocations: 434 kB / 465.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.33, allocations: 228.4 kB / 465.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.333, allocations: 1.742 MB / 467.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.3337, allocations: 1.005 MB / 468.3 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003791/0.3341, allocations: 107.2 kB / 468.4 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3342, allocations: 55.44 kB / 468.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3342, allocations: 0 / 468.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of Templates: time 0.02101/0.3552, allocations: 10.84 MB / 479.3 MB, free: 12.05 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches