Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001485/0.001485, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001556/0.001556, allocations: 212.2 kB / 23.73 MB, free: 4.523 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.805 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+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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 51.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2851, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01009/0.2952, allocations: 7.068 MB / 438.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004537/0.2998, allocations: 2.481 MB / 441.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.3004, allocations: 27.88 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3017, allocations: 476.7 kB / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009301/0.3026, allocations: 432.8 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.3031, allocations: 223.6 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.3044, allocations: 1.241 MB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.305, allocations: 370.5 kB / 443.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.3057, allocations: 498.1 kB / 444.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.3064, allocations: 0.525 MB / 444.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.3065, allocations: 116 kB / 445 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.3068, allocations: 156 kB / 445.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.307, allocations: 239.1 kB / 445.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.3075, allocations: 469.9 kB / 445.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.3092, allocations: 1.477 MB / 447.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3092, allocations: 4 kB / 447.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3092, allocations: 0 / 447.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3092, allocations: 0 / 447.3 MB, free: 6.863 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00226/0.3115, allocations: 1.256 MB / 448.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3115, allocations: 8.031 kB / 448.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006894/0.3122, allocations: 176.2 kB / 448.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.3133, allocations: 0.5842 MB / 449.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.3134, allocations: 66.38 kB / 449.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3135, allocations: 83.94 kB / 449.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.315, allocations: 0.8686 MB / 450.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.315, allocations: 7.891 kB / 450.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.3151, allocations: 39.98 kB / 450.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.3151, allocations: 23.94 kB / 450.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3162, allocations: 0.5387 MB / 451 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.3204, allocations: 2.933 MB / 453.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.3209, allocations: 237.4 kB / 454.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.3212, allocations: 116.8 kB / 454.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.3212, allocations: 7.938 kB / 454.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3212, allocations: 34.56 kB / 454.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.3212, allocations: 0 / 454.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002145/0.3234, allocations: 0.9281 MB / 455.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.3234, allocations: 77.11 kB / 455.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.3244, allocations: 0.6915 MB / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3244, allocations: 29.7 kB / 456 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.3249, allocations: 0.542 MB / 456.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.325, allocations: 107.1 kB / 456.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.3252, allocations: 126.2 kB / 456.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3253, allocations: 374.8 kB / 457.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.3257, allocations: 133.2 kB / 457.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.3262, allocations: 472 kB / 457.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009139/0.3271, allocations: 0.6176 MB / 458.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3271, allocations: 4 kB / 458.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001189/0.3283, allocations: 0.6426 MB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3284, allocations: 12 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3284, allocations: 8 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.3285, allocations: 36.78 kB / 459.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.329, allocations: 156.2 kB / 459.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.3301, allocations: 1.264 MB / 460.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.3306, allocations: 47.89 kB / 460.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.3306, allocations: 31.94 kB / 460.6 MB, free: 8.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003207/0.3309, allocations: 245.7 kB / 460.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3311, allocations: 71.56 kB / 460.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.3318, allocations: 325 kB / 461.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3318, allocations: 0 / 461.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.3318, allocations: 4 kB / 461.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3318, allocations: 0 / 461.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.3333, allocations: 0.9258 MB / 462.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3333, allocations: 4 kB / 462.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.3336, allocations: 63.91 kB / 462.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.034e-05/0.3337, allocations: 24.78 kB / 462.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3337, allocations: 8.219 kB / 462.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.3347, allocations: 1.252 MB / 463.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3347, allocations: 0 / 463.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.3357, allocations: 0.5724 MB / 464 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3359, allocations: 91.53 kB / 464.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.336, allocations: 8 kB / 464.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.3363, allocations: 19.98 kB / 464.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.3364, allocations: 27.89 kB / 464.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3364, allocations: 8 kB / 464.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006238/0.337, allocations: 471 kB / 464.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.337, allocations: 0 / 464.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006532/0.3377, allocations: 168 kB / 464.8 MB, free: 4.332 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.0001889/0.3379, allocations: 130.3 kB / 464.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009009/0.3388, allocations: 477 kB / 465.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3388, allocations: 4 kB / 465.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.3392, allocations: 239.3 kB / 465.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.3401, allocations: 170.2 kB / 465.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.3424, allocations: 1.474 MB / 467.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3428, allocations: 361.1 kB / 467.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.3431, allocations: 89.53 kB / 467.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3432, allocations: 47.44 kB / 467.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3432, allocations: 3.938 kB / 467.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of Templates: time 0.01839/0.3616, allocations: 9.7 MB / 477.5 MB, free: 7.746 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 5.069805688690394]