Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.002032/0.002032, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002398/0.002398, allocations: 163.1 kB / 25.02 MB, free: 8.965 MB / 18.57 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.395/1.395, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.763e-05, allocations: 6.109 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01493/0.01495, allocations: 10.51 MB / 260.9 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.022, allocations: 3.141 MB / 264 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.02298, allocations: 43.81 kB / 264.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.02472, allocations: 0.6477 MB / 264.7 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.02682, allocations: 0.8218 MB / 265.5 MB, free: 8.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.02775, allocations: 403.5 kB / 265.9 MB, free: 8.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.03068, allocations: 2.509 MB / 268.4 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.032, allocations: 0.6031 MB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.03401, allocations: 1.399 MB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.03515, allocations: 0.7126 MB / 271.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.0355, allocations: 228 kB / 271.4 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.03603, allocations: 272 kB / 271.6 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004765/0.0365, allocations: 466.2 kB / 272.1 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.03761, allocations: 0.7405 MB / 272.8 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.04139, allocations: 2.842 MB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.04139, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.04139, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.088e-05/0.04145, allocations: 0 / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.004748/0.0462, allocations: 2.118 MB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.04625, allocations: 8.031 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.04744, allocations: 415.5 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.04973, allocations: 1.086 MB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.04986, allocations: 115.5 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.05011, allocations: 164.3 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.05317, allocations: 1.609 MB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.05322, allocations: 7.953 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.05337, allocations: 68 kB / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.05341, allocations: 40 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.05574, allocations: 1.045 MB / 282.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00911/0.06485, allocations: 5.506 MB / 287.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.06654, allocations: 0.5694 MB / 288.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.06757, allocations: 426.7 kB / 288.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.06762, allocations: 12.66 kB / 288.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.06768, allocations: 39.22 kB / 288.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 3.116e-06/0.06768, allocations: 0 / 288.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.005866/0.07354, allocations: 2.181 MB / 291.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.07365, allocations: 111.5 kB / 291.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.0755, allocations: 1.169 MB / 292.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.07555, allocations: 41.7 kB / 292.4 MB, free: 13.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008341/0.07639, allocations: 0.8818 MB / 293.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.07665, allocations: 269.8 kB / 293.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.077, allocations: 210.8 kB / 293.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.07722, allocations: 353.9 kB / 294.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.07788, allocations: 282.5 kB / 294.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.07907, allocations: 0.7926 MB / 295.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.08096, allocations: 1.088 MB / 296.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.08097, allocations: 8 kB / 296.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002925/0.08389, allocations: 1.296 MB / 297.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.08392, allocations: 12 kB / 297.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.08395, allocations: 16.5 kB / 297.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009034/0.08485, allocations: 186.4 kB / 297.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009324/0.08579, allocations: 259.6 kB / 298 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.09071, allocations: 4.259 MB / 302.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.09163, allocations: 60.08 kB / 302.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.09172, allocations: 56.12 kB / 302.4 MB, free: 2.316 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006756/0.09239, allocations: 353.4 kB / 302.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.09264, allocations: 155.1 kB / 302.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.09467, allocations: 0.8165 MB / 303.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.09467, allocations: 4 kB / 303.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.09468, allocations: 4 kB / 303.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.09469, allocations: 3.984 kB / 303.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.09896, allocations: 1.973 MB / 305.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.09897, allocations: 7.938 kB / 305.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.0996, allocations: 123.9 kB / 305.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009116/0.1005, allocations: 210.8 kB / 306 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.1006, allocations: 20 kB / 306 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/0.1058, allocations: 4.408 MB / 310.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.1058, allocations: 4 kB / 310.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/0.1088, allocations: 1.304 MB / 311.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.1093, allocations: 191.1 kB / 311.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.1094, allocations: 19.98 kB / 312 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.1101, allocations: 43.97 kB / 312 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.1103, allocations: 68.27 kB / 312.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.1103, allocations: 20 kB / 312.1 MB, free: 8.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.1116, allocations: 0.7685 MB / 312.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 4 kB / 312.9 MB, free: 7.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001296/0.1129, allocations: 324 kB / 313.2 MB, free: 7.008 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadTorque1.phi,dcpm2.inertiaRotor.w,dcpm2.la.i,loadTorque2.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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.1132, allocations: 143 kB / 313.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.1154, allocations: 1.08 MB / 314.4 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1154, allocations: 4 kB / 314.4 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.1166, allocations: 0.6868 MB / 315.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.1182, allocations: 358.7 kB / 315.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.124, allocations: 2.826 MB / 318.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/0.1249, allocations: 0.6298 MB / 318.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006498/0.1255, allocations: 158.8 kB / 319 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.1258, allocations: 88.48 kB / 319.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1258, allocations: 0 / 319.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of Templates: time 0.03663/0.1624, allocations: 17.3 MB / 336.4 MB, free: 15.55 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_withLosses/DCPM_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.350926699000411]