Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 55.92 kB / 348.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2585, allocations: 49.15 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008321/0.2668, allocations: 8.116 MB / 405.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.2715, allocations: 2.679 MB / 408.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.2727, allocations: 28.81 kB / 408.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.2743, allocations: 0.5828 MB / 409 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.2756, allocations: 0.4927 MB / 409.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.2761, allocations: 252.8 kB / 409.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.2777, allocations: 1.477 MB / 411.2 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006609/0.2784, allocations: 404 kB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.2793, allocations: 0.5696 MB / 412.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008127/0.2802, allocations: 0.6007 MB / 412.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.2803, allocations: 138.9 kB / 412.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.2807, allocations: 173.4 kB / 413.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.281, allocations: 279.2 kB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.2816, allocations: 0.6619 MB / 414 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.2838, allocations: 1.732 MB / 415.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2838, allocations: 0 / 415.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2838, allocations: 0 / 415.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.2838, allocations: 5.219 kB / 415.8 MB, free: 13.35 MB / 334.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.002734/0.2866, allocations: 1.412 MB / 417.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.2866, allocations: 13.77 kB / 417.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.2873, allocations: 195.1 kB / 417.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.2888, allocations: 0.6696 MB / 418.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-05/0.2889, allocations: 72.16 kB / 418.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.289, allocations: 97.53 kB / 418.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.2907, allocations: 0.9379 MB / 419.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.2907, allocations: 5.203 kB / 419.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.2908, allocations: 41.78 kB / 419.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.2908, allocations: 23.97 kB / 419.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2921, allocations: 0.6422 MB / 419.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/0.2977, allocations: 3.768 MB / 423.6 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.2984, allocations: 340.8 kB / 424 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.299, allocations: 255.8 kB / 424.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.2991, allocations: 8.094 kB / 424.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.2991, allocations: 37.98 kB / 424.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.2991, allocations: 0 / 424.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002998/0.3021, allocations: 1.268 MB / 425.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3022, allocations: 81.2 kB / 425.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3033, allocations: 0.8318 MB / 426.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.3034, allocations: 31.02 kB / 426.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.3038, allocations: 0.576 MB / 427.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.304, allocations: 160 kB / 427.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3041, allocations: 131.9 kB / 427.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3043, allocations: 332 kB / 427.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.3046, allocations: 168.4 kB / 427.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.3052, allocations: 462.6 kB / 428.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009458/0.3061, allocations: 0.6578 MB / 428.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3061, allocations: 4 kB / 428.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001384/0.3075, allocations: 0.7714 MB / 429.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3076, allocations: 12 kB / 429.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3076, allocations: 8 kB / 429.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.3079, allocations: 81.61 kB / 429.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.3084, allocations: 159.7 kB / 430 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.3111, allocations: 2.931 MB / 432.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.3117, allocations: 31.98 kB / 432.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.3118, allocations: 36 kB / 433 MB, free: 15.05 MB / 350.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.000507/0.3123, allocations: 265.9 kB / 433.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3124, allocations: 91.39 kB / 433.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/0.3134, allocations: 491.5 kB / 433.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3134, allocations: 8 kB / 433.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3134, allocations: 4 kB / 433.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.3134, allocations: 3.984 kB / 433.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.3158, allocations: 1.395 MB / 435.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3158, allocations: 4 kB / 435.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.3161, allocations: 71.89 kB / 435.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.3163, allocations: 73.89 kB / 435.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.3163, allocations: 12 kB / 435.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.3189, allocations: 2.923 MB / 438.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.3189, allocations: 7.969 kB / 438.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3204, allocations: 0.7595 MB / 439.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.3207, allocations: 127.4 kB / 439.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.3208, allocations: 15.94 kB / 439.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.3213, allocations: 27.98 kB / 439.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.3213, allocations: 39.88 kB / 439.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3214, allocations: 8 kB / 439.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008081/0.3222, allocations: 0.5654 MB / 439.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3222, allocations: 0 / 439.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009218/0.3231, allocations: 204 kB / 440 MB, free: 7.605 MB / 350.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.0002164/0.3233, allocations: 131 kB / 440.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.3246, allocations: 0.6704 MB / 440.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3246, allocations: 4.562 kB / 440.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.3253, allocations: 429.7 kB / 441.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3263, allocations: 239.5 kB / 441.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.3294, allocations: 1.774 MB / 443.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.3302, allocations: 1.009 MB / 444.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3304, allocations: 59.44 kB / 444.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3304, allocations: 0 / 444.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of Templates: time 0.02852/0.3589, allocations: 21.05 MB / 465.4 MB, free: 14.08 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.184851447120309]