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.001928/0.001928, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002358/0.002358, allocations: 193.2 kB / 23.71 MB, free: 4.406 MB / 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.479/1.479, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.002037/0.002037, allocations: 43.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2659, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009594/0.2755, allocations: 7.151 MB / 430.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.2796, allocations: 2.455 MB / 432.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.28, allocations: 27.88 kB / 432.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.2813, allocations: 0.5118 MB / 433.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009325/0.2822, allocations: 0.4963 MB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.2827, allocations: 255.7 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.2842, allocations: 1.475 MB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.2848, allocations: 367.3 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006922/0.2855, allocations: 0.5681 MB / 436.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.2862, allocations: 0.5168 MB / 436.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.2863, allocations: 140 kB / 437 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.2867, allocations: 180 kB / 437.2 MB, free: 300 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.2869, allocations: 286.9 kB / 437.5 MB, free: 12 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.2875, allocations: 0.5367 MB / 438 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2893, allocations: 1.735 MB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2893, allocations: 0 / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2893, allocations: 0 / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.2893, allocations: 0 / 439.7 MB, free: 13.73 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.002429/0.2918, allocations: 1.41 MB / 441.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2918, allocations: 11.97 kB / 441.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/0.2924, allocations: 196 kB / 441.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.2937, allocations: 0.6806 MB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.2938, allocations: 66 kB / 442.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.2939, allocations: 100 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.2956, allocations: 1.035 MB / 443.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.2956, allocations: 7.953 kB / 443.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.2957, allocations: 40 kB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.2957, allocations: 24 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.297, allocations: 0.6286 MB / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.3018, allocations: 3.354 MB / 447.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.3025, allocations: 348 kB / 447.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.303, allocations: 261.3 kB / 447.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3031, allocations: 4.328 kB / 447.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3031, allocations: 38.89 kB / 447.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.3031, allocations: 0 / 447.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00254/0.3057, allocations: 1.259 MB / 449.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3057, allocations: 81.11 kB / 449.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.3067, allocations: 0.7582 MB / 450 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.3067, allocations: 33.64 kB / 450.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.3072, allocations: 0.589 MB / 450.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.3073, allocations: 158.6 kB / 450.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3075, allocations: 134.6 kB / 450.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3077, allocations: 386.8 kB / 451.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.3081, allocations: 165.9 kB / 451.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.3086, allocations: 485.7 kB / 451.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.3096, allocations: 0.6546 MB / 452.6 MB, free: 180 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3096, allocations: 4 kB / 452.6 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001361/0.311, allocations: 0.7634 MB / 453.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.311, allocations: 12 kB / 453.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.311, allocations: 8 kB / 453.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.3113, allocations: 81.62 kB / 453.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3118, allocations: 155.7 kB / 453.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.3143, allocations: 2.89 MB / 456.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.3148, allocations: 36.2 kB / 456.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.3149, allocations: 32 kB / 456.6 MB, free: 11.98 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.0003846/0.3153, allocations: 261.5 kB / 456.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3154, allocations: 83.42 kB / 456.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009617/0.3164, allocations: 490.6 kB / 457.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3164, allocations: 7.938 kB / 457.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3164, allocations: 0 / 457.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3164, allocations: 0 / 457.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.3184, allocations: 1.189 MB / 458.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3185, allocations: 4 kB / 458.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3188, allocations: 71.89 kB / 458.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.319, allocations: 73.89 kB / 458.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.319, allocations: 12 kB / 458.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/0.3215, allocations: 2.862 MB / 461.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3215, allocations: 4.031 kB / 461.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3228, allocations: 0.7675 MB / 462.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.3231, allocations: 111.5 kB / 462.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.3232, allocations: 12 kB / 462.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.3236, allocations: 27.97 kB / 462.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.3237, allocations: 43.75 kB / 462.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.3237, allocations: 16 kB / 462.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000734/0.3244, allocations: 0.4991 MB / 463.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 4 kB / 463.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008318/0.3253, allocations: 211.9 kB / 463.3 MB, free: 4.914 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.0001963/0.3255, allocations: 119.1 kB / 463.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.3267, allocations: 0.6599 MB / 464.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3267, allocations: 320 / 464.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.3274, allocations: 436.8 kB / 464.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.3283, allocations: 198.8 kB / 464.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.3314, allocations: 1.729 MB / 466.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.3319, allocations: 417.6 kB / 466.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.3322, allocations: 98.67 kB / 466.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.3324, allocations: 55.44 kB / 467 MB, free: 1.086 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.3324, allocations: 0 / 467 MB, free: 1.086 MB / 366.1 MB Notification: Performance of Templates: time 0.02164/0.354, allocations: 11.47 MB / 478.4 MB, free: 5.84 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.995282785966992]