Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007553/0.0007553, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008903/0.0008903, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.105/1.105, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001732/0.0001733, allocations: 8 kB / 307.7 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.07271, allocations: 51.53 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006171/0.0789, allocations: 7.476 MB / 366.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.08228, allocations: 2.579 MB / 369.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.0829, allocations: 23.94 kB / 369.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.08404, allocations: 494.1 kB / 369.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.08497, allocations: 397.2 kB / 370.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.08537, allocations: 211.8 kB / 370.4 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.08655, allocations: 1.35 MB / 371.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.08711, allocations: 0.4889 MB / 372.3 MB, free: 204 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1159/0.203, allocations: 457 kB / 372.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.2036, allocations: 0.5018 MB / 373.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2037, allocations: 67.09 kB / 373.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.204, allocations: 106.5 kB / 373.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2041, allocations: 189.7 kB / 373.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.2045, allocations: 0.5883 MB / 374.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.2059, allocations: 1.589 MB / 375.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2059, allocations: 0 / 375.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2059, allocations: 0.7188 kB / 375.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2059, allocations: 1.188 kB / 375.7 MB, free: 10.03 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001691/0.2076, allocations: 1.246 MB / 377 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2076, allocations: 9.781 kB / 377 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004641/0.2081, allocations: 168.6 kB / 377.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.2089, allocations: 0.7132 MB / 377.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.209, allocations: 72.06 kB / 377.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.2091, allocations: 105.2 kB / 378 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.2105, allocations: 0.929 MB / 379 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.2105, allocations: 7.875 kB / 379 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.2106, allocations: 40.03 kB / 379 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2106, allocations: 23.16 kB / 379 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2116, allocations: 0.6414 MB / 379.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.2153, allocations: 3.933 MB / 383.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.2157, allocations: 359.1 kB / 384 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.216, allocations: 157.4 kB / 384.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.216, allocations: 3.281 kB / 384.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2161, allocations: 35.41 kB / 384.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.2161, allocations: 4.094 kB / 384.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001734/0.2178, allocations: 1.231 MB / 385.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.2178, allocations: 85.77 kB / 385.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/0.2187, allocations: 0.8199 MB / 386.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2187, allocations: 34.86 kB / 386.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.219, allocations: 0.5655 MB / 386.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.219, allocations: 130.6 kB / 387 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.2191, allocations: 56.39 kB / 387.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.2191, allocations: 333.3 kB / 387.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.2194, allocations: 160 kB / 387.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.2197, allocations: 468.2 kB / 388 MB, free: 4.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.2204, allocations: 0.6463 MB / 388.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2204, allocations: 3.375 kB / 388.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009417/0.2213, allocations: 0.7106 MB / 389.4 MB, free: 3.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2214, allocations: 10.56 kB / 389.4 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2214, allocations: 12.89 kB / 389.4 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.2215, allocations: 38.64 kB / 389.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.2219, allocations: 160.5 kB / 389.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005598/0.2225, allocations: 1.286 MB / 390.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.2229, allocations: 46.86 kB / 390.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.2229, allocations: 32.44 kB / 391 MB, free: 1.945 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0002388/0.2232, allocations: 261.3 kB / 391.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.2233, allocations: 83.53 kB / 391.3 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.2239, allocations: 399 kB / 391.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2239, allocations: 8.125 kB / 391.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2239, allocations: 1 kB / 391.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2239, allocations: 3.609 kB / 391.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2253, allocations: 1.28 MB / 393 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2254, allocations: 2.922 kB / 393 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.2256, allocations: 80.08 kB / 393.1 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.109e-05/0.2257, allocations: 25.78 kB / 393.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2257, allocations: 8.406 kB / 393.1 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.2263, allocations: 1.276 MB / 394.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2263, allocations: 1.344 kB / 394.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.2272, allocations: 0.6483 MB / 395 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.2275, allocations: 191.8 kB / 395.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.2275, allocations: 7.844 kB / 395.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.2279, allocations: 32.12 kB / 395.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.2279, allocations: 28 kB / 395.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.228, allocations: 13.41 kB / 395.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006426/0.2286, allocations: 0.5601 MB / 395.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2286, allocations: 0 / 395.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.2292, allocations: 187.7 kB / 396 MB, free: 14.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0001617/0.2294, allocations: 134.4 kB / 396.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007796/0.2302, allocations: 0.5167 MB / 396.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2302, allocations: 1.375 kB / 396.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.2305, allocations: 272 kB / 396.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.2316, allocations: 199.6 kB / 397.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.2339, allocations: 2.227 MB / 399.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.2344, allocations: 0.9889 MB / 400.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003273/0.2347, allocations: 101.8 kB / 400.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.2348, allocations: 52.28 kB / 400.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2348, allocations: 0 / 400.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of Templates: time 0.01335/0.2482, allocations: 8.963 MB / 409.5 MB, free: 5 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches