Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.001826/0.001826, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002241/0.002241, allocations: 204.7 kB / 24.49 MB, free: 3.965 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 / 258.3 MB, free: 7.809 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.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|loadInertia.phi|loadInertia.w|dcpm.la.i|armatureInverter.vDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vMotFilter.y|armatureInverter.iDCFilter.y|currentController.integrator.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|loadInertia.phi|loadInertia.w|dcpm.la.i|armatureInverter.vDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vMotFilter.y|armatureInverter.iDCFilter.y|currentController.integrator.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2203, allocations: 53.36 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01619/0.2365, allocations: 12.29 MB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.2455, allocations: 4.963 MB / 449.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.2471, allocations: 71.56 kB / 449.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.2493, allocations: 0.8153 MB / 450.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.2507, allocations: 0.5893 MB / 451.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.2516, allocations: 0.4994 MB / 451.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002443/0.254, allocations: 2.128 MB / 453.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2552, allocations: 0.7371 MB / 454.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.2563, allocations: 0.8134 MB / 455.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000988/0.2573, allocations: 0.8632 MB / 456.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.2576, allocations: 224 kB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.258, allocations: 267.9 kB / 456.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.2584, allocations: 438.5 kB / 457 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007575/0.2591, allocations: 0.7699 MB / 457.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.2621, allocations: 2.724 MB / 460.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2621, allocations: 0 / 460.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2621, allocations: 0 / 460.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.2621, allocations: 4 kB / 460.5 MB, free: 10.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.003534/0.2656, allocations: 1.978 MB / 462.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2657, allocations: 8.031 kB / 462.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007287/0.2664, allocations: 255.6 kB / 462.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.2682, allocations: 0.9596 MB / 463.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.2683, allocations: 111.3 kB / 463.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.2685, allocations: 160.3 kB / 464 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.2711, allocations: 1.536 MB / 465.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.2711, allocations: 15.88 kB / 465.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.2712, allocations: 60 kB / 465.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.2713, allocations: 36 kB / 465.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.2732, allocations: 0.9399 MB / 466.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.2806, allocations: 5.189 MB / 471.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2817, allocations: 498.4 kB / 472.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.2821, allocations: 222 kB / 472.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.2822, allocations: 12.42 kB / 472.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.2822, allocations: 39 kB / 472.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.973e-06/0.2822, allocations: 0 / 472.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.003056/0.2853, allocations: 1.56 MB / 474.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.2853, allocations: 89.53 kB / 474.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.2868, allocations: 1.036 MB / 475.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.2868, allocations: 37.7 kB / 475.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006514/0.2875, allocations: 0.8308 MB / 476.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.2876, allocations: 206.3 kB / 476.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.2879, allocations: 186.5 kB / 476.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2881, allocations: 341.9 kB / 476.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.2886, allocations: 240.8 kB / 477 MB, free: 9.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/0.2894, allocations: 0.646 MB / 477.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.2908, allocations: 0.9097 MB / 478.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2908, allocations: 7.938 kB / 478.6 MB, free: 7.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001767/0.2925, allocations: 0.9937 MB / 479.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2926, allocations: 8 kB / 479.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2926, allocations: 12 kB / 479.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.2927, allocations: 41.38 kB / 479.6 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/0.2935, allocations: 227.6 kB / 479.9 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.2947, allocations: 1.26 MB / 481.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.2953, allocations: 55.86 kB / 481.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.2954, allocations: 52.16 kB / 481.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008007/0.2962, allocations: 462.1 kB / 481.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007686/0.297, allocations: 0.6225 MB / 482.3 MB, free: 3.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001197/0.2982, allocations: 0.8667 MB / 483.2 MB, free: 2.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.893e-06/0.2982, allocations: 4 kB / 483.2 MB, free: 2.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001581/0.2998, allocations: 0.9353 MB / 484.1 MB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2998, allocations: 12 kB / 484.1 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2998, allocations: 12 kB / 484.1 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.2999, allocations: 40.84 kB / 484.2 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.3006, allocations: 216.1 kB / 484.4 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.3017, allocations: 1.287 MB / 485.7 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/0.3023, allocations: 35.98 kB / 485.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.3023, allocations: 44 kB / 485.8 MB, free: 15.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0002221/0.3026, allocations: 251.8 kB / 486 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.3027, allocations: 111.5 kB / 486.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3039, allocations: 0.5544 MB / 486.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3039, allocations: 3.984 kB / 486.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.3039, allocations: 0 / 486.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.3042, allocations: 163.2 kB / 486.8 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.3044, allocations: 19.92 kB / 486.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.3049, allocations: 31.92 kB / 486.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.3049, allocations: 40.3 kB / 486.9 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001541/0.3065, allocations: 0.6098 MB / 487.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001498/0.308, allocations: 0.9283 MB / 488.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004056/0.3084, allocations: 199.3 kB / 488.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.3094, allocations: 0.6786 MB / 489.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3094, allocations: 0 / 489.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.3119, allocations: 1.143 MB / 490.5 MB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 0.004938/0.3168, allocations: 3.008 MB / 493.5 MB, free: 7.801 MB / 398.1 MB Notification: Performance of Templates: time 0.03294/0.3497, allocations: 18.56 MB / 0.5 GB, free: 5.512 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.083751343998301]