Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001441/0.001441, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001702/0.001702, allocations: 215 kB / 24.47 MB, free: 3.777 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.609/1.609, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [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.001887/0.001887, allocations: 55.92 kB / 347.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4019, allocations: 49.15 MB / 396.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03312/0.435, allocations: 23.25 MB / 420.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.4592, allocations: 7.72 MB / 427.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00979/0.469, allocations: 202 kB / 428.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.026/0.495, allocations: 8.758 MB / 436.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01671/0.5117, allocations: 3.409 MB / 440.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00849/0.5202, allocations: 1.836 MB / 442.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02291/0.5431, allocations: 12.41 MB / 454.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03868/0.5818, allocations: 15.88 MB / 470.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0144/0.5962, allocations: 6.718 MB / 477.1 MB, free: 2.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01462/0.6108, allocations: 7.047 MB / 484.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006189/0.617, allocations: 1.844 MB / 485.9 MB, free: 9.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00846/0.6254, allocations: 2.199 MB / 488.1 MB, free: 7.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006978/0.6324, allocations: 3.675 MB / 491.8 MB, free: 3.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01313/0.6455, allocations: 5.425 MB / 497.2 MB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0376/0.6831, allocations: 24.89 MB / 0.5099 GB, free: 5.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6831, allocations: 0 / 0.5099 GB, free: 5.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6831, allocations: 0 / 0.5099 GB, free: 5.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008719/0.684, allocations: 0 / 0.5099 GB, free: 5.414 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05024/0.7343, allocations: 14.83 MB / 0.5244 GB, free: 6.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.7343, allocations: 19.92 kB / 0.5244 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05481/0.7891, allocations: 9.528 MB / 0.5337 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/0.808, allocations: 7.021 MB / 0.5406 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.809, allocations: 0.8149 MB / 0.5414 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004936/0.8139, allocations: 1.074 MB / 0.5424 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05222/0.8661, allocations: 18.96 MB / 0.5609 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000392/0.8665, allocations: 15.95 kB / 0.5609 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00428/0.8708, allocations: 459.9 kB / 0.5614 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4111/1.282, allocations: 0.6961 MB / 0.5621 GB, free: 130.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04777/1.33, allocations: 18.11 MB / 0.5797 GB, free: 124.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09308/1.423, allocations: 51.19 MB / 0.6297 GB, free: 81.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02343/1.446, allocations: 14.58 MB / 0.644 GB, free: 69.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00596/1.452, allocations: 3.89 MB / 0.6478 GB, free: 65.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/1.471, allocations: 11.14 MB / 0.6586 GB, free: 54.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/1.471, allocations: 81.52 kB / 0.6587 GB, free: 54.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 7.034e-06/1.471, allocations: 0 / 0.6587 GB, free: 54.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.03918/1.51, allocations: 19.04 MB / 0.6773 GB, free: 35.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.51, allocations: 90.47 kB / 0.6774 GB, free: 35.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/1.516, allocations: 4.178 MB / 0.6815 GB, free: 31.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006562/1.516, allocations: 93.7 kB / 0.6816 GB, free: 31.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/1.518, allocations: 5.008 MB / 0.6865 GB, free: 26.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.52, allocations: 1.419 MB / 0.6879 GB, free: 25.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/1.521, allocations: 1.275 MB / 0.6891 GB, free: 23.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.104e-05/1.521, allocations: 301.1 kB / 0.6894 GB, free: 23.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/1.525, allocations: 3.104 MB / 0.6924 GB, free: 20.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004947/1.53, allocations: 5.757 MB / 0.698 GB, free: 13.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.54, allocations: 9.419 MB / 0.7072 GB, free: 2.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/1.54, allocations: 24 kB / 0.7073 GB, free: 2.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02176/1.562, allocations: 10.19 MB / 0.7172 GB, free: 8.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.562, allocations: 47.94 kB / 0.7173 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/1.562, allocations: 88 kB / 0.7173 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/1.566, allocations: 1.37 MB / 0.7187 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/1.572, allocations: 1.47 MB / 0.7201 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.591, allocations: 10.9 MB / 0.7307 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006179/1.598, allocations: 403.5 kB / 0.7311 GB, free: 10.13 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.599, allocations: 328 kB / 0.7314 GB, free: 9.812 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01088/1.61, allocations: 4.177 MB / 0.7355 GB, free: 5.621 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/1.612, allocations: 449.1 kB / 0.736 GB, free: 5.18 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.629, allocations: 7.244 MB / 0.743 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0115/1.641, allocations: 5.957 MB / 0.7488 GB, free: 7.918 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.524e-05/1.641, allocations: 15.94 kB / 0.7489 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.137e-05/1.641, allocations: 19.92 kB / 0.7489 GB, free: 7.883 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03404/1.675, allocations: 13.79 MB / 0.7623 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.675, allocations: 0 / 0.7623 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/1.678, allocations: 0.7255 MB / 0.7631 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/1.681, allocations: 1.229 MB / 0.7643 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/1.681, allocations: 87.97 kB / 0.7643 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2818/1.963, allocations: 9.643 MB / 0.7738 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.963, allocations: 1.062 kB / 0.7738 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.982, allocations: 10.45 MB / 0.784 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003673/1.986, allocations: 0.9681 MB / 0.7849 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.987, allocations: 73.67 kB / 0.785 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.99, allocations: 252.8 kB / 0.7852 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007877/1.991, allocations: 283.1 kB / 0.7855 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/1.991, allocations: 116 kB / 0.7856 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005005/1.996, allocations: 2.671 MB / 0.7882 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/1.996, allocations: 0 / 0.7882 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009143/2.005, allocations: 1.821 MB / 0.79 GB, free: 168 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/2.007, allocations: 255.6 kB / 0.7902 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0132/2.02, allocations: 7.543 MB / 0.7976 GB, free: 165 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/2.02, allocations: 0 / 0.7976 GB, free: 165 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007268/2.027, allocations: 3.361 MB / 0.8009 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00604/2.033, allocations: 0.9724 MB / 0.8018 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/2.064, allocations: 19.12 MB / 0.8205 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00758/2.072, allocations: 6.608 MB / 0.827 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005507/2.078, allocations: 2.229 MB / 0.8291 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/2.079, allocations: 358.4 kB / 0.8295 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/2.079, allocations: 0 / 0.8295 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1118/2.19, allocations: 74.61 MB / 0.9023 GB, free: 73.23 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 8.683286329731345]