Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 60.09 kB / 306.3 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.0972, allocations: 50.53 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009428/0.1067, allocations: 7.13 MB / 363.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.1108, allocations: 2.372 MB / 366.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1119, allocations: 16 kB / 366.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.1137, allocations: 433.7 kB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.115, allocations: 337.6 kB / 367.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.1155, allocations: 183.9 kB / 367.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.117, allocations: 1.143 MB / 368.4 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.1178, allocations: 442.7 kB / 368.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.1185, allocations: 422.1 kB / 369.2 MB, free: 1.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/0.1192, allocations: 473.7 kB / 369.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.1194, allocations: 72 kB / 369.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.1197, allocations: 112 kB / 369.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1199, allocations: 183.2 kB / 370.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.1205, allocations: 0.5013 MB / 370.6 MB, free: 440 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1778/0.2983, allocations: 1.375 MB / 371.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2983, allocations: 0 / 371.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2984, allocations: 2.844 kB / 371.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.2984, allocations: 0 / 371.9 MB, free: 12.52 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002131/0.3005, allocations: 1.249 MB / 373.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3006, allocations: 9.125 kB / 373.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.3011, allocations: 141.7 kB / 373.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.302, allocations: 0.6422 MB / 374 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.3021, allocations: 64.73 kB / 374 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3022, allocations: 79.5 kB / 374.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3036, allocations: 0.7813 MB / 374.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.3036, allocations: 5.125 kB / 374.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.3037, allocations: 35.56 kB / 374.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.3037, allocations: 20.47 kB / 375 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3049, allocations: 0.5182 MB / 375.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.3091, allocations: 3.389 MB / 378.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.3096, allocations: 227 kB / 379.1 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3099, allocations: 112.3 kB / 379.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3099, allocations: 7.625 kB / 379.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3099, allocations: 35.62 kB / 379.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.3099, allocations: 0.8438 kB / 379.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002106/0.312, allocations: 1.041 MB / 380.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3121, allocations: 80.81 kB / 380.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3133, allocations: 0.7365 MB / 381.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3134, allocations: 33.73 kB / 381.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.3138, allocations: 499.8 kB / 381.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3139, allocations: 108.7 kB / 381.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.3142, allocations: 118.1 kB / 381.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3144, allocations: 380.5 kB / 382.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.3147, allocations: 120.7 kB / 382.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.3151, allocations: 420.6 kB / 382.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.3159, allocations: 0.5728 MB / 383.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3159, allocations: 3.5 kB / 383.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001009/0.3169, allocations: 0.6101 MB / 383.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3169, allocations: 10.38 kB / 383.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.3169, allocations: 10.84 kB / 383.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.3171, allocations: 42.09 kB / 384 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.3175, allocations: 138 kB / 384.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008102/0.3184, allocations: 1.303 MB / 385.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.3189, allocations: 32.45 kB / 385.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.319, allocations: 29.44 kB / 385.5 MB, free: 5.059 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003546/0.3193, allocations: 243.3 kB / 385.7 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3195, allocations: 73.31 kB / 385.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/0.3201, allocations: 321.6 kB / 386.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3202, allocations: 4.219 kB / 386.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3202, allocations: 0 / 386.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3202, allocations: 8.188 kB / 386.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.3219, allocations: 1.103 MB / 387.2 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3219, allocations: 1.344 kB / 387.2 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3222, allocations: 60.75 kB / 387.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/0.3223, allocations: 23.86 kB / 387.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3223, allocations: 8.5 kB / 387.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006338/0.323, allocations: 1.269 MB / 388.6 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.323, allocations: 6 kB / 388.6 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.3239, allocations: 0.55 MB / 389.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.3241, allocations: 174.9 kB / 389.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.3242, allocations: 12.55 kB / 389.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3245, allocations: 19.53 kB / 389.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.3246, allocations: 22.12 kB / 389.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3246, allocations: 8.25 kB / 389.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007001/0.3253, allocations: 0.4996 MB / 389.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3253, allocations: 1.156 kB / 389.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007449/0.3261, allocations: 165.5 kB / 390 MB, free: 1.945 MB / 302.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 (27): * Single equations (assignments): 26 * 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.0002008/0.3263, allocations: 121.8 kB / 390.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.3271, allocations: 470 kB / 390.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3272, allocations: 1.531 kB / 390.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.3275, allocations: 241.5 kB / 390.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3285, allocations: 167.7 kB / 391 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3309, allocations: 1.763 MB / 392.8 MB, free: 268 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.3315, allocations: 0.9398 MB / 393.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003737/0.3318, allocations: 91.59 kB / 393.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.332, allocations: 46.25 kB / 393.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.332, allocations: 1.188 kB / 393.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of Templates: time 0.01751/0.3495, allocations: 7.736 MB / 401.6 MB, free: 12.27 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches