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.DCSE_SinglePhase.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.001313/0.001313, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001516/0.001516, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [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.002/0.002, allocations: 63.89 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009892/0.2654, allocations: 8.32 MB / 440.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.2702, allocations: 2.754 MB / 443.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007873/0.271, allocations: 31.81 kB / 443.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2724, allocations: 0.5823 MB / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.2738, allocations: 0.5118 MB / 444.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.2744, allocations: 275.6 kB / 444.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.2762, allocations: 1.502 MB / 446.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.2768, allocations: 407.3 kB / 446.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.2776, allocations: 0.5914 MB / 447.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.2783, allocations: 0.6106 MB / 448 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.2785, allocations: 140 kB / 448.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.2788, allocations: 184 kB / 448.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.279, allocations: 282.9 kB / 448.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.2797, allocations: 0.6765 MB / 449.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.2816, allocations: 1.762 MB / 451 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2816, allocations: 0 / 451 MB, free: 4.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2816, allocations: 4 kB / 451 MB, free: 4.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.579e-05/0.2817, allocations: 3.938 kB / 451 MB, free: 4.234 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.002561/0.2842, allocations: 1.446 MB / 452.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2843, allocations: 8.031 kB / 452.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.285, allocations: 211.9 kB / 452.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.2863, allocations: 0.6971 MB / 453.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.2864, allocations: 74 kB / 453.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2865, allocations: 99.95 kB / 453.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2882, allocations: 0.9386 MB / 454.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.2883, allocations: 11.98 kB / 454.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.2884, allocations: 43.98 kB / 454.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.2884, allocations: 24 kB / 454.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.2897, allocations: 0.6481 MB / 455.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005362/0.2951, allocations: 3.797 MB / 459 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.2958, allocations: 348.9 kB / 459.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.2964, allocations: 272.6 kB / 459.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.2964, allocations: 7.938 kB / 459.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.2965, allocations: 38.56 kB / 459.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.2965, allocations: 0 / 459.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002988/0.2995, allocations: 1.338 MB / 461 MB, free: 9.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.2995, allocations: 85.11 kB / 461.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3007, allocations: 0.845 MB / 461.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.3007, allocations: 33.7 kB / 462 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.3012, allocations: 0.5775 MB / 462.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3014, allocations: 166.6 kB / 462.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3016, allocations: 134.5 kB / 462.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3017, allocations: 334 kB / 463.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.3021, allocations: 185.9 kB / 463.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.3027, allocations: 475.6 kB / 463.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3037, allocations: 0.6682 MB / 464.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3037, allocations: 0 / 464.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001415/0.3052, allocations: 0.7911 MB / 465.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3052, allocations: 12 kB / 465.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3052, allocations: 11.98 kB / 465.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.3055, allocations: 81.88 kB / 465.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.306, allocations: 163.7 kB / 465.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.3089, allocations: 2.935 MB / 468.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.3095, allocations: 35.94 kB / 468.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.3096, allocations: 36 kB / 468.5 MB, free: 1.789 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.0005146/0.3101, allocations: 269.5 kB / 468.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3102, allocations: 91.44 kB / 468.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3113, allocations: 0.5033 MB / 469.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3113, allocations: 7.984 kB / 469.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3113, allocations: 0 / 469.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3113, allocations: 0 / 469.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.3137, allocations: 1.454 MB / 470.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.3137, allocations: 7.969 kB / 470.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.3141, allocations: 71.89 kB / 470.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.3143, allocations: 73.67 kB / 471 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3143, allocations: 8 kB / 471 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.3169, allocations: 2.92 MB / 473.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3169, allocations: 4.031 kB / 473.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.3183, allocations: 0.8099 MB / 474.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.3186, allocations: 127.4 kB / 474.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.3187, allocations: 15.94 kB / 474.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.3192, allocations: 27.97 kB / 474.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.3193, allocations: 47.62 kB / 475 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.3193, allocations: 12 kB / 475 MB, free: 10.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008183/0.3201, allocations: 0.5771 MB / 475.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3201, allocations: 0 / 475.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008563/0.321, allocations: 208 kB / 475.7 MB, free: 10.19 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 (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.0002691/0.3212, allocations: 127.1 kB / 475.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.3226, allocations: 0.6818 MB / 476.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3226, allocations: 4 kB / 476.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.3233, allocations: 446.8 kB / 477 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.3243, allocations: 225.3 kB / 477.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.3277, allocations: 1.772 MB / 479 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.3285, allocations: 1.013 MB / 480 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004429/0.3289, allocations: 111.3 kB / 480.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.329, allocations: 55.44 kB / 480.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.329, allocations: 0 / 480.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of Templates: time 0.02294/0.352, allocations: 11.37 MB / 491.5 MB, free: 10.41 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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 [Calling sys.exit(0), Time elapsed: 4.86065932456404]