Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001903/0.001903, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002292/0.002292, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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+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_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.004e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009498/0.009518, allocations: 7.291 MB / 332.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005262/0.01478, allocations: 2.58 MB / 334.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.01544, allocations: 29.06 kB / 335 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.01687, allocations: 0.5354 MB / 335.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.01809, allocations: 0.5216 MB / 336 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.01866, allocations: 270 kB / 336.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.02053, allocations: 1.577 MB / 337.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.02125, allocations: 368.1 kB / 338.2 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.02256, allocations: 0.8775 MB / 339.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.02327, allocations: 456.2 kB / 339.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.02347, allocations: 144 kB / 339.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.02388, allocations: 178.2 kB / 339.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.02418, allocations: 294.8 kB / 340.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.02482, allocations: 470.9 kB / 340.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.0272, allocations: 1.764 MB / 342.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.02721, allocations: 0 / 342.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.02721, allocations: 0 / 342.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.02724, allocations: 0 / 342.4 MB, free: 3.793 MB / 302.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.00298/0.03022, allocations: 1.427 MB / 343.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.03026, allocations: 12.03 kB / 343.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.03107, allocations: 208 kB / 344 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.0324, allocations: 0.697 MB / 344.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/0.03247, allocations: 74 kB / 344.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.03267, allocations: 99.95 kB / 344.9 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.03455, allocations: 1.047 MB / 345.9 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.03459, allocations: 4 kB / 345.9 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.03468, allocations: 40 kB / 346 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.0347, allocations: 24 kB / 346 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.03609, allocations: 0.652 MB / 346.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005239/0.04133, allocations: 3.385 MB / 350 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.04206, allocations: 350.5 kB / 350.4 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/0.04275, allocations: 257.4 kB / 350.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.04278, allocations: 4 kB / 350.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.04282, allocations: 38.56 kB / 350.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.04282, allocations: 7.875 kB / 350.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.003106/0.04593, allocations: 1.334 MB / 352 MB, free: 9.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.046, allocations: 81.11 kB / 352.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.04711, allocations: 0.7779 MB / 352.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.04715, allocations: 33.7 kB / 352.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.04767, allocations: 0.593 MB / 353.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.04781, allocations: 162.6 kB / 353.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.04801, allocations: 134.6 kB / 353.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.04823, allocations: 394.7 kB / 354.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.04863, allocations: 169.9 kB / 354.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.04929, allocations: 0.4895 MB / 354.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.05038, allocations: 0.6796 MB / 355.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.05038, allocations: 4 kB / 355.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001474/0.05186, allocations: 0.7795 MB / 356.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.05188, allocations: 8 kB / 356.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.05189, allocations: 8.047 kB / 356.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.05218, allocations: 89.91 kB / 356.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.05273, allocations: 155.8 kB / 356.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.05548, allocations: 2.881 MB / 359.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.05607, allocations: 35.98 kB / 359.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.05612, allocations: 36 kB / 359.5 MB, free: 1.742 MB / 318.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.0004291/0.05655, allocations: 261.5 kB / 359.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.05669, allocations: 87.44 kB / 359.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.05779, allocations: 0.4986 MB / 360.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.0578, allocations: 4 kB / 360.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.0578, allocations: 0 / 360.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.05781, allocations: 4.031 kB / 360.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.05998, allocations: 1.224 MB / 361.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.05999, allocations: 4 kB / 361.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.06033, allocations: 80.05 kB / 361.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.06055, allocations: 77.73 kB / 361.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.06058, allocations: 12 kB / 361.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.06321, allocations: 2.859 MB / 364.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.06321, allocations: 0 / 364.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.06468, allocations: 0.7875 MB / 365.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.06499, allocations: 123.4 kB / 365.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.915e-05/0.06509, allocations: 12 kB / 365.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.06555, allocations: 31.97 kB / 365.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.06566, allocations: 40 kB / 365.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.06569, allocations: 16 kB / 365.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008136/0.0665, allocations: 0.5264 MB / 366.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0665, allocations: 0 / 366.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000964/0.06747, allocations: 211.9 kB / 366.3 MB, free: 10.56 MB / 334.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.0002798/0.06775, allocations: 119.2 kB / 366.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.06909, allocations: 0.7004 MB / 367.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.0691, allocations: 0 / 367.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.06984, allocations: 435.2 kB / 367.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.07083, allocations: 205.9 kB / 367.8 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.07398, allocations: 1.66 MB / 369.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.07444, allocations: 422.4 kB / 369.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.07478, allocations: 102.8 kB / 370 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.07491, allocations: 52.5 kB / 370 MB, free: 6.754 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.07491, allocations: 0 / 370 MB, free: 6.754 MB / 334.1 MB Notification: Performance of Templates: time 0.0209/0.09581, allocations: 10.25 MB / 380.3 MB, free: 12.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.902826681733131]