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.001832/0.001832, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.81 kB / 307 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1025, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009764/0.1123, allocations: 8.092 MB / 365.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.1173, allocations: 2.665 MB / 368.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007926/0.1181, allocations: 27.88 kB / 368.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1197, allocations: 0.552 MB / 368.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.121, allocations: 468.3 kB / 369.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.1216, allocations: 251.7 kB / 369.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.1233, allocations: 1.459 MB / 371 MB, free: 484 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1533/0.2766, allocations: 0.582 MB / 371.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.2779, allocations: 0.5552 MB / 372.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.2786, allocations: 0.5965 MB / 372.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.2788, allocations: 138.7 kB / 372.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.2792, allocations: 175.3 kB / 373.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2793, allocations: 283.4 kB / 373.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.2799, allocations: 0.6562 MB / 374 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.2824, allocations: 1.709 MB / 375.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2824, allocations: 2.188 kB / 375.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2824, allocations: 0 / 375.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.654e-05/0.2825, allocations: 0.5 kB / 375.7 MB, free: 10.14 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.002964/0.2854, allocations: 1.448 MB / 377.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2855, allocations: 12.59 kB / 377.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.2863, allocations: 186.6 kB / 377.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.2875, allocations: 0.7295 MB / 378.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.2876, allocations: 72.97 kB / 378.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.2878, allocations: 98.25 kB / 378.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.2894, allocations: 0.9356 MB / 379.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.2894, allocations: 7.031 kB / 379.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.2895, allocations: 42.12 kB / 379.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.2895, allocations: 24.12 kB / 379.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.2908, allocations: 0.636 MB / 379.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.2957, allocations: 3.918 MB / 383.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.2964, allocations: 444.9 kB / 384.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.297, allocations: 261.8 kB / 384.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.297, allocations: 5.297 kB / 384.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2971, allocations: 37.62 kB / 384.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.2971, allocations: 5.031 kB / 384.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002752/0.2998, allocations: 1.393 MB / 386 MB, free: 4.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2999, allocations: 86.48 kB / 386 MB, free: 4.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.301, allocations: 0.8202 MB / 386.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3011, allocations: 39.92 kB / 386.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.3014, allocations: 0.5547 MB / 387.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.3014, allocations: 157.2 kB / 387.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3016, allocations: 134.2 kB / 387.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.3017, allocations: 333.8 kB / 388.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.302, allocations: 163.9 kB / 388.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.3024, allocations: 460.3 kB / 388.7 MB, free: 3.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.3032, allocations: 0.6717 MB / 389.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3032, allocations: 3.375 kB / 389.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001142/0.3044, allocations: 0.7584 MB / 390.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3044, allocations: 9.031 kB / 390.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3044, allocations: 10.06 kB / 390.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/0.3047, allocations: 83.06 kB / 390.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.3051, allocations: 152.9 kB / 390.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.3073, allocations: 3.151 MB / 393.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.308, allocations: 38.88 kB / 393.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.3081, allocations: 32.03 kB / 393.6 MB, free: 15.07 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.000486/0.3085, allocations: 266.2 kB / 393.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.3087, allocations: 88.72 kB / 393.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009627/0.3097, allocations: 481.9 kB / 394.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3097, allocations: 4.406 kB / 394.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3097, allocations: 5.156 kB / 394.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3097, allocations: 4.688 kB / 394.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.312, allocations: 1.439 MB / 395.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.312, allocations: 2.531 kB / 395.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.3123, allocations: 68.5 kB / 395.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.3126, allocations: 74.89 kB / 396 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.3126, allocations: 7.875 kB / 396 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.3153, allocations: 3.139 MB / 399.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3154, allocations: 1.375 kB / 399.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.3166, allocations: 0.7678 MB / 399.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.3169, allocations: 193.2 kB / 400.1 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3171, allocations: 8.031 kB / 400.1 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.3175, allocations: 30.66 kB / 400.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.3176, allocations: 38.31 kB / 400.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3176, allocations: 21.27 kB / 400.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008449/0.3185, allocations: 0.557 MB / 400.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3185, allocations: 0 / 400.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009519/0.3195, allocations: 205.8 kB / 400.9 MB, free: 9.621 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.0002399/0.3197, allocations: 129.3 kB / 401.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.3211, allocations: 0.708 MB / 401.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3211, allocations: 1.719 kB / 401.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006678/0.3218, allocations: 432.1 kB / 402.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3229, allocations: 230.2 kB / 402.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.3259, allocations: 1.746 MB / 404.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.3266, allocations: 0.9964 MB / 405.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.3271, allocations: 103.3 kB / 405.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3272, allocations: 55.44 kB / 405.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3272, allocations: 4 kB / 405.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of Templates: time 0.02225/0.3495, allocations: 10.54 MB / 415.9 MB, free: 13.64 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 -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/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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches