Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 99.98 kB / 19.61 MB, free: 2.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 195.9 kB / 22.76 MB, free: 5.457 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 251.4 MB, free: 13.37 MB / 206.1 MB [Timeout remaining time 88] 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_SinglePhase,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_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 55.89 kB / 369.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2547, allocations: 52.14 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01007/0.2648, allocations: 8.263 MB / 429.6 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.27, allocations: 2.707 MB / 432.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.2709, allocations: 23.94 kB / 432.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2724, allocations: 0.5715 MB / 432.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.2736, allocations: 0.5079 MB / 433.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.2741, allocations: 263.7 kB / 433.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.2758, allocations: 1.513 MB / 435.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.2765, allocations: 398.9 kB / 435.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007638/0.2773, allocations: 0.5681 MB / 436.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.278, allocations: 0.6029 MB / 436.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.2781, allocations: 140 kB / 436.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.2785, allocations: 180 kB / 437 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.2787, allocations: 290.9 kB / 437.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.2794, allocations: 0.6726 MB / 438 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.2814, allocations: 1.764 MB / 439.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2814, allocations: 0 / 439.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2814, allocations: 0 / 439.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.2814, allocations: 0 / 439.7 MB, free: 12.61 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002661/0.2841, allocations: 1.521 MB / 441.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.2841, allocations: 15.89 kB / 441.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.2848, allocations: 196 kB / 441.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.2861, allocations: 0.7626 MB / 442.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.2861, allocations: 74 kB / 442.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.2863, allocations: 99.98 kB / 442.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.288, allocations: 0.9425 MB / 443.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.288, allocations: 7.953 kB / 443.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.2881, allocations: 43.94 kB / 443.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.2881, allocations: 24 kB / 443.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.2894, allocations: 0.6519 MB / 444.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005441/0.2949, allocations: 3.923 MB / 448 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.2956, allocations: 431.8 kB / 448.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.2962, allocations: 256.7 kB / 448.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.2963, allocations: 4 kB / 448.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.2963, allocations: 42.56 kB / 448.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.2963, allocations: 0 / 448.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003079/0.2994, allocations: 1.57 MB / 450.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.2995, allocations: 85.11 kB / 450.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.3006, allocations: 0.845 MB / 451.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.3007, allocations: 29.7 kB / 451.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.3011, allocations: 0.5814 MB / 451.8 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.3013, allocations: 166.8 kB / 452 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.3015, allocations: 134.6 kB / 452.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3017, allocations: 334 kB / 452.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.302, allocations: 177.9 kB / 452.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.3026, allocations: 463.6 kB / 453.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.3036, allocations: 0.6797 MB / 453.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3036, allocations: 4 kB / 453.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001476/0.3051, allocations: 0.7948 MB / 454.5 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3051, allocations: 11.12 kB / 454.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3052, allocations: 12 kB / 454.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.3055, allocations: 85.86 kB / 454.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.306, allocations: 155.7 kB / 454.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.3088, allocations: 3.138 MB / 457.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.3094, allocations: 39.94 kB / 458 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.3094, allocations: 32.06 kB / 458 MB, free: 9.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 (85): * 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: 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.000418/0.3098, allocations: 273.5 kB / 458.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.31, allocations: 87.44 kB / 458.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.311, allocations: 0.4992 MB / 458.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.311, allocations: 4 kB / 458.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.311, allocations: 0 / 458.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.311, allocations: 3.984 kB / 458.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.3133, allocations: 1.486 MB / 460.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3133, allocations: 4 kB / 460.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.3136, allocations: 75.89 kB / 460.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.3138, allocations: 65.67 kB / 460.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.3138, allocations: 16 kB / 460.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.3164, allocations: 3.126 MB / 463.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3164, allocations: 0 / 463.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.3177, allocations: 0.806 MB / 464.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.3181, allocations: 208.5 kB / 464.6 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.3181, allocations: 19.88 kB / 464.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.3186, allocations: 27.98 kB / 464.7 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.3187, allocations: 31.95 kB / 464.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3187, allocations: 19.98 kB / 464.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008065/0.3195, allocations: 0.5693 MB / 465.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3195, allocations: 0 / 465.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.3204, allocations: 208 kB / 465.5 MB, free: 1.285 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 (39): * Single equations (assignments): 37 * 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.0002192/0.3206, allocations: 127.1 kB / 465.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3219, allocations: 0.6891 MB / 466.3 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3219, allocations: 0 / 466.3 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.3226, allocations: 447.6 kB / 466.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3236, allocations: 219.2 kB / 467 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.3268, allocations: 1.807 MB / 468.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.3275, allocations: 1.009 MB / 469.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.3277, allocations: 59.44 kB / 469.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.133e-06/0.3277, allocations: 0 / 469.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02877/0.3565, allocations: 21.49 MB / 491.3 MB, free: 7.355 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches