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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 217.3 kB / 23 MB, free: 5.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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=20000,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=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 59.89 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2622, allocations: 53.33 MB / 429.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01085/0.273, allocations: 8.167 MB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.278, allocations: 2.676 MB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006571/0.2786, allocations: 23.94 kB / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.28, allocations: 0.5754 MB / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.281, allocations: 0.4886 MB / 441.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2815, allocations: 251.7 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.283, allocations: 1.482 MB / 443.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.2836, allocations: 406.8 kB / 443.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.2843, allocations: 0.5525 MB / 444.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/0.285, allocations: 0.6028 MB / 445 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.2852, allocations: 140 kB / 445.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.2855, allocations: 176 kB / 445.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.2857, allocations: 279 kB / 445.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.2863, allocations: 0.6649 MB / 446.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.2882, allocations: 1.725 MB / 448 MB, free: 5.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2882, allocations: 4 kB / 448 MB, free: 5.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2882, allocations: 7.875 kB / 448 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.2883, allocations: 0 / 448 MB, free: 5.219 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.002399/0.2907, allocations: 1.479 MB / 449.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2907, allocations: 8.031 kB / 449.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.2913, allocations: 192 kB / 449.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2925, allocations: 0.7501 MB / 450.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.2926, allocations: 74 kB / 450.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2927, allocations: 99.95 kB / 450.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2943, allocations: 0.9346 MB / 451.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.2943, allocations: 8 kB / 451.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.2944, allocations: 36 kB / 451.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.2944, allocations: 24 kB / 451.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2957, allocations: 0.6364 MB / 452.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/0.3006, allocations: 3.9 MB / 456.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.3013, allocations: 420.2 kB / 456.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.3018, allocations: 265.2 kB / 456.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.3019, allocations: 4.328 kB / 456.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3019, allocations: 38.89 kB / 456.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.3019, allocations: 0 / 456.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00258/0.3045, allocations: 1.408 MB / 458.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3046, allocations: 81.11 kB / 458.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3056, allocations: 0.8253 MB / 459.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3056, allocations: 41.7 kB / 459.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.3061, allocations: 0.5619 MB / 459.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3062, allocations: 170.6 kB / 459.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3064, allocations: 134.6 kB / 460.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3065, allocations: 334 kB / 460.4 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3068, allocations: 161.9 kB / 460.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.3074, allocations: 468 kB / 461 MB, free: 7.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.3083, allocations: 0.6583 MB / 461.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3083, allocations: 4 kB / 461.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001258/0.3096, allocations: 0.7632 MB / 462.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3096, allocations: 8.469 kB / 462.4 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3096, allocations: 16 kB / 462.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.3099, allocations: 93.55 kB / 462.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.3103, allocations: 151.7 kB / 462.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.313, allocations: 3.138 MB / 465.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.3135, allocations: 31.98 kB / 465.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.3135, allocations: 36.11 kB / 465.9 MB, free: 2.25 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.000366/0.3139, allocations: 269.5 kB / 466.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.314, allocations: 87.44 kB / 466.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/0.3149, allocations: 491.5 kB / 466.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3149, allocations: 4 kB / 466.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3149, allocations: 3.938 kB / 466.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3149, allocations: 11.98 kB / 466.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.3171, allocations: 1.439 MB / 468.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3171, allocations: 0 / 468.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3174, allocations: 67.91 kB / 468.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.3175, allocations: 77.89 kB / 468.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3176, allocations: 8 kB / 468.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.3201, allocations: 3.123 MB / 471.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3201, allocations: 7.969 kB / 471.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3214, allocations: 0.7665 MB / 472.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.3216, allocations: 204.5 kB / 472.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/0.3217, allocations: 11.94 kB / 472.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.3221, allocations: 31.97 kB / 472.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.3222, allocations: 39.83 kB / 472.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3223, allocations: 16 kB / 472.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007947/0.323, allocations: 0.5615 MB / 473.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.323, allocations: 0 / 473.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008698/0.3239, allocations: 207.9 kB / 473.3 MB, free: 10.4 MB / 382.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.0002405/0.3242, allocations: 119.5 kB / 473.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3254, allocations: 0.6678 MB / 474.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3254, allocations: 3.984 kB / 474.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.326, allocations: 438.6 kB / 474.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009868/0.327, allocations: 221.6 kB / 474.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.33, allocations: 1.755 MB / 476.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.3306, allocations: 0.997 MB / 477.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.331, allocations: 103.2 kB / 477.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3311, allocations: 55.44 kB / 477.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3311, allocations: 0 / 477.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of Templates: time 0.02118/0.3523, allocations: 10.99 MB / 488.6 MB, free: 11.05 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.860168538056314]