Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 114.2 kB / 19.04 MB, free: 3.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 184.5 kB / 22.21 MB, free: 108 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01044/0.2608, allocations: 8.162 MB / 429 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005296/0.2661, allocations: 2.645 MB / 431.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.2667, allocations: 31.88 kB / 431.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.2682, allocations: 0.5676 MB / 432.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.2692, allocations: 0.4925 MB / 432.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.2698, allocations: 251.7 kB / 433 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.2715, allocations: 1.475 MB / 434.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.2721, allocations: 398.8 kB / 434.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007511/0.2729, allocations: 0.5525 MB / 435.4 MB, free: 484 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.2736, allocations: 0.5911 MB / 436 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.2738, allocations: 140 kB / 436.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.2741, allocations: 180 kB / 436.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.2743, allocations: 283 kB / 436.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.275, allocations: 0.6648 MB / 437.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.2771, allocations: 1.729 MB / 439 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2771, allocations: 0 / 439 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2771, allocations: 3.938 kB / 439 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.2771, allocations: 0 / 439 MB, free: 12.89 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.002514/0.2797, allocations: 1.49 MB / 440.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2797, allocations: 11.89 kB / 440.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006732/0.2804, allocations: 200 kB / 440.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.2817, allocations: 0.7501 MB / 441.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.2818, allocations: 70 kB / 441.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.282, allocations: 100 kB / 441.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2836, allocations: 0.9307 MB / 442.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.2837, allocations: 7.953 kB / 442.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/0.2838, allocations: 44 kB / 442.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.2838, allocations: 24 kB / 442.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.285, allocations: 0.6324 MB / 443.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/0.2905, allocations: 3.896 MB / 447.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.2913, allocations: 424 kB / 447.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.2919, allocations: 249.3 kB / 447.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.2919, allocations: 8.312 kB / 447.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2919, allocations: 38.89 kB / 447.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 4.328e-06/0.2919, allocations: 4 kB / 447.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002818/0.2948, allocations: 1.41 MB / 449.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.2948, allocations: 85.11 kB / 449.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.296, allocations: 0.8253 MB / 450.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.296, allocations: 33.7 kB / 450.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.2965, allocations: 0.5696 MB / 450.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.2966, allocations: 166.6 kB / 450.9 MB, free: 460 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2968, allocations: 130.6 kB / 451.1 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.297, allocations: 334 kB / 451.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.2973, allocations: 169.9 kB / 451.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.2979, allocations: 460 kB / 452 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009729/0.2989, allocations: 0.6624 MB / 452.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.2989, allocations: 4 kB / 452.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001405/0.3003, allocations: 0.7749 MB / 453.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3003, allocations: 8 kB / 453.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3003, allocations: 12 kB / 453.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.3006, allocations: 81.88 kB / 453.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.3011, allocations: 155.7 kB / 453.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.3039, allocations: 3.13 MB / 456.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.3045, allocations: 39.94 kB / 456.9 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.3045, allocations: 36.06 kB / 456.9 MB, free: 9.906 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.0004083/0.3049, allocations: 263.3 kB / 457.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3051, allocations: 91.44 kB / 457.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000956/0.306, allocations: 0.4916 MB / 457.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.306, allocations: 7.938 kB / 457.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.306, allocations: 0 / 457.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.306, allocations: 0 / 457.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.3083, allocations: 1.436 MB / 459.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3083, allocations: 8.219 kB / 459.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.3086, allocations: 67.84 kB / 459.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/0.3088, allocations: 73.67 kB / 459.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3089, allocations: 8 kB / 459.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.3115, allocations: 3.134 MB / 462.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3115, allocations: 0 / 462.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3129, allocations: 0.7707 MB / 463.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.3131, allocations: 204.5 kB / 463.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.3132, allocations: 15.94 kB / 463.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.3136, allocations: 23.98 kB / 463.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.3137, allocations: 31.95 kB / 463.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.3137, allocations: 15.94 kB / 463.5 MB, free: 2.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008018/0.3145, allocations: 0.5654 MB / 464.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3145, allocations: 3.938 kB / 464.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008348/0.3154, allocations: 211.9 kB / 464.3 MB, free: 2.051 MB / 366.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.0002174/0.3156, allocations: 119.2 kB / 464.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.3168, allocations: 0.6665 MB / 465.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3168, allocations: 0 / 465.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.3175, allocations: 422.1 kB / 465.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3185, allocations: 230 kB / 465.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.3213, allocations: 1.749 MB / 467.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.322, allocations: 1.009 MB / 468.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003365/0.3223, allocations: 103.2 kB / 468.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3224, allocations: 59.42 kB / 468.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3224, allocations: 4 kB / 468.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02023/0.3426, allocations: 10.97 MB / 479.6 MB, free: 2.734 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.933209751732647]