Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001391/0.001391, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001339/0.001339, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.5 MB / 255.4 MB, free: 14.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 374.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1044, allocations: 53.3 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.211/0.3155, allocations: 8.03 MB / 436.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.3192, allocations: 2.63 MB / 438.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/0.3198, allocations: 23.91 kB / 438.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3213, allocations: 0.5751 MB / 439.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.3223, allocations: 490.1 kB / 439.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.3228, allocations: 235.9 kB / 440 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.3244, allocations: 1.43 MB / 441.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.325, allocations: 407.9 kB / 441.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008837/0.3259, allocations: 0.5538 MB / 442.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007447/0.3267, allocations: 0.5839 MB / 443 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.3269, allocations: 135.2 kB / 443.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.3273, allocations: 172.5 kB / 443.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.3274, allocations: 268.5 kB / 443.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.328, allocations: 0.6567 MB / 444.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.3301, allocations: 1.702 MB / 445.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3301, allocations: 1.688 kB / 445.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3301, allocations: 0 / 445.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.3302, allocations: 0.7188 kB / 445.9 MB, free: 2.707 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002651/0.3328, allocations: 1.465 MB / 447.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3329, allocations: 9.406 kB / 447.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/0.3334, allocations: 171.6 kB / 447.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3345, allocations: 0.7336 MB / 448.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.3346, allocations: 76.72 kB / 448.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3347, allocations: 94.66 kB / 448.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3363, allocations: 0.9224 MB / 449.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.3363, allocations: 10.69 kB / 449.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.3364, allocations: 42.42 kB / 449.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.3364, allocations: 24.19 kB / 449.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3376, allocations: 0.6218 MB / 450.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.3432, allocations: 3.879 MB / 454 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.3438, allocations: 338.3 kB / 454.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.3441, allocations: 134 kB / 454.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3441, allocations: 3.516 kB / 454.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3441, allocations: 41.72 kB / 454.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.384e-06/0.3441, allocations: 0 / 454.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002609/0.3467, allocations: 1.215 MB / 455.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3468, allocations: 86.05 kB / 455.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.348, allocations: 0.8282 MB / 456.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.3481, allocations: 31.08 kB / 456.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.3485, allocations: 0.5828 MB / 457.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3486, allocations: 132.1 kB / 457.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3488, allocations: 128.4 kB / 457.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3489, allocations: 333 kB / 457.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.3492, allocations: 145.5 kB / 457.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.3498, allocations: 463.6 kB / 458.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.3507, allocations: 0.6344 MB / 459 MB, free: 10.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3507, allocations: 2.656 kB / 459 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001223/0.3519, allocations: 0.6916 MB / 459.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.352, allocations: 10.66 kB / 459.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.352, allocations: 15.09 kB / 459.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.3521, allocations: 33.41 kB / 459.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.3526, allocations: 163.5 kB / 459.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3538, allocations: 1.385 MB / 461.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.3544, allocations: 34.17 kB / 461.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.3544, allocations: 32.81 kB / 461.4 MB, free: 8.25 MB / 366.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.0004087/0.3548, allocations: 261.1 kB / 461.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.355, allocations: 92 kB / 461.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.3558, allocations: 372.9 kB / 462.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3558, allocations: 3.938 kB / 462.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3558, allocations: 6.094 kB / 462.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3558, allocations: 3.188 kB / 462.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3578, allocations: 1.266 MB / 463.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3578, allocations: 2.188 kB / 463.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.3581, allocations: 78.17 kB / 463.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.911e-05/0.3582, allocations: 20.61 kB / 463.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.3583, allocations: 8.625 kB / 463.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3593, allocations: 1.378 MB / 464.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3593, allocations: 2.406 kB / 464.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3604, allocations: 0.6381 MB / 465.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.3607, allocations: 192.7 kB / 465.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.3607, allocations: 16.58 kB / 465.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.3611, allocations: 28.58 kB / 465.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3612, allocations: 27.97 kB / 465.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3612, allocations: 9.469 kB / 465.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007749/0.362, allocations: 0.5604 MB / 466.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.362, allocations: 0 / 466.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.3628, allocations: 191.8 kB / 466.5 MB, free: 4.383 MB / 366.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.0002359/0.363, allocations: 132.2 kB / 466.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.364, allocations: 0.4954 MB / 467.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.364, allocations: 1.938 kB / 467.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.3645, allocations: 256.4 kB / 467.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3655, allocations: 220.4 kB / 467.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.3685, allocations: 1.749 MB / 469.3 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.3691, allocations: 0.9958 MB / 470.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.3693, allocations: 61.34 kB / 470.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3693, allocations: 1.094 kB / 470.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of Templates: time 0.02336/0.3926, allocations: 15.91 MB / 486.3 MB, free: 5.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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: 8.570495198015124]