Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001455/0.001455, allocations: 81.98 kB / 21.99 MB, free: 5.18 MB / 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.001441/0.001441, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.338/1.338, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.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_SinglePhase,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_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [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.00288/0.00288, allocations: 55.92 kB / 299.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2434, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01433/0.2578, allocations: 7.217 MB / 355.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.2644, allocations: 2.553 MB / 358.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2655, allocations: 27.88 kB / 358.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.2676, allocations: 0.5247 MB / 358.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.2693, allocations: 0.5041 MB / 359.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.2701, allocations: 263.7 kB / 359.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.2725, allocations: 1.498 MB / 361.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.2735, allocations: 374.1 kB / 361.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2747, allocations: 0.5836 MB / 362.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.2758, allocations: 0.5285 MB / 362.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.2761, allocations: 140 kB / 362.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005369/0.2766, allocations: 184 kB / 362.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.277, allocations: 286.9 kB / 363.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008736/0.2779, allocations: 0.5483 MB / 363.7 MB, free: 216 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.2809, allocations: 1.766 MB / 365.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.2809, allocations: 0 / 365.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2809, allocations: 0 / 365.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.2809, allocations: 0 / 365.5 MB, free: 14.44 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003892/0.2848, allocations: 1.442 MB / 366.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2849, allocations: 15.92 kB / 366.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.286, allocations: 196 kB / 367.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.288, allocations: 0.6931 MB / 367.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.2881, allocations: 74 kB / 367.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.2883, allocations: 99.95 kB / 368 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.2911, allocations: 1.043 MB / 369 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.312e-05/0.2911, allocations: 7.984 kB / 369.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.2912, allocations: 44 kB / 369.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.2913, allocations: 24 kB / 369.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.2934, allocations: 0.6442 MB / 369.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007418/0.3008, allocations: 3.381 MB / 373.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3019, allocations: 342.8 kB / 373.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/0.3028, allocations: 260.7 kB / 373.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.3029, allocations: 8 kB / 373.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3029, allocations: 38.5 kB / 373.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.855e-06/0.3029, allocations: 0 / 373.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.004502/0.3074, allocations: 1.333 MB / 375.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.3075, allocations: 81.11 kB / 375.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.3091, allocations: 0.7818 MB / 376 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.3092, allocations: 33.7 kB / 376 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.3099, allocations: 0.593 MB / 376.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.3101, allocations: 166.6 kB / 376.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.3104, allocations: 138.6 kB / 376.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.3107, allocations: 386.8 kB / 377.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.3112, allocations: 173.9 kB / 377.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/0.3122, allocations: 0.4934 MB / 377.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.3138, allocations: 0.6836 MB / 378.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3138, allocations: 0 / 378.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002329/0.3162, allocations: 0.7792 MB / 379.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3162, allocations: 8 kB / 379.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.3162, allocations: 11.98 kB / 379.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.3166, allocations: 85.94 kB / 379.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.3175, allocations: 151.7 kB / 379.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.3214, allocations: 2.889 MB / 382.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008861/0.3223, allocations: 31.98 kB / 382.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/0.3224, allocations: 35.94 kB / 382.6 MB, free: 12.39 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 (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.0005871/0.323, allocations: 265.5 kB / 382.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.3232, allocations: 91.5 kB / 383 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3248, allocations: 498.8 kB / 383.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3248, allocations: 7.938 kB / 383.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3248, allocations: 7.984 kB / 383.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3248, allocations: 0 / 383.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.3282, allocations: 1.227 MB / 384.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3282, allocations: 4.219 kB / 384.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.3287, allocations: 75.89 kB / 384.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.3291, allocations: 65.69 kB / 384.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.3291, allocations: 15.98 kB / 384.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/0.3328, allocations: 2.862 MB / 387.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3328, allocations: 4.031 kB / 387.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.335, allocations: 0.8028 MB / 388.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/0.3354, allocations: 119.5 kB / 388.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3355, allocations: 8 kB / 388.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.3361, allocations: 31.98 kB / 388.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3363, allocations: 43.8 kB / 388.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.3363, allocations: 19.94 kB / 388.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.3375, allocations: 0.5147 MB / 389.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3375, allocations: 0 / 389.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001515/0.339, allocations: 208 kB / 389.5 MB, free: 5.203 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 (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.0002786/0.3393, allocations: 127.2 kB / 389.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3411, allocations: 0.6803 MB / 390.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3411, allocations: 2 kB / 390.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.3422, allocations: 438.1 kB / 390.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.3437, allocations: 207.3 kB / 390.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.3482, allocations: 1.757 MB / 392.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.3489, allocations: 426.4 kB / 393.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005631/0.3495, allocations: 98.69 kB / 393.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.3497, allocations: 56.5 kB / 393.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3497, allocations: 0 / 393.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of Templates: time 0.02533/0.375, allocations: 10.32 MB / 403.5 MB, free: 6.957 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.851796470000409]