Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 371.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3021, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03774/0.3399, allocations: 30.53 MB / 454.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02239/0.3623, allocations: 8.677 MB / 463.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007309/0.3696, allocations: 222.9 kB / 463.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01398/0.3836, allocations: 5.018 MB / 468.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.3954, allocations: 3.123 MB / 471.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006384/0.4017, allocations: 1.635 MB / 473.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01619/0.4179, allocations: 8.778 MB / 481.9 MB, free: 4.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02057/0.4385, allocations: 9.232 MB / 491.1 MB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009049/0.4476, allocations: 4.336 MB / 495.5 MB, free: 6.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009589/0.4571, allocations: 4.815 MB / 0.4885 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004047/0.4612, allocations: 1.164 MB / 0.4897 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/0.4672, allocations: 1.535 MB / 0.4912 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.4718, allocations: 2.415 MB / 0.4935 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.4824, allocations: 4.669 MB / 0.4981 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02695/0.5094, allocations: 15.84 MB / 0.5136 GB, free: 8.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5094, allocations: 4 kB / 0.5136 GB, free: 8.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5094, allocations: 0 / 0.5136 GB, free: 8.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004982/0.5099, allocations: 0 / 0.5136 GB, free: 8.262 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03441/0.5443, allocations: 9.861 MB / 0.5232 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.5444, allocations: 12.03 kB / 0.5232 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03079/0.5752, allocations: 5.31 MB / 0.5284 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.5887, allocations: 5.117 MB / 0.5334 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007208/0.5894, allocations: 0.5299 MB / 0.5339 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003224/0.5926, allocations: 0.7108 MB / 0.5346 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2909/0.8835, allocations: 11.32 MB / 0.5457 GB, free: 93.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005407/0.884, allocations: 13.06 kB / 0.5457 GB, free: 93.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003339/0.8874, allocations: 299.8 kB / 0.546 GB, free: 93.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006793/0.888, allocations: 451.6 kB / 0.5464 GB, free: 93.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.9128, allocations: 10.83 MB / 0.557 GB, free: 88.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06427/0.9771, allocations: 36.53 MB / 0.5926 GB, free: 53.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.9887, allocations: 7.454 MB / 0.5999 GB, free: 47.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.9923, allocations: 2.424 MB / 0.6023 GB, free: 44.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01408/1.006, allocations: 7.473 MB / 0.6096 GB, free: 37.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.006, allocations: 64.14 kB / 0.6096 GB, free: 37.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.449e-06/1.006, allocations: 0 / 0.6096 GB, free: 37.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01831/1.025, allocations: 10.28 MB / 0.6197 GB, free: 27.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001613/1.026, allocations: 1.894 MB / 0.6215 GB, free: 25.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007382/1.034, allocations: 3.837 MB / 0.6253 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.034, allocations: 61.7 kB / 0.6253 GB, free: 21.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/1.037, allocations: 3.676 MB / 0.6289 GB, free: 18.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.038, allocations: 0.8667 MB / 0.6298 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/1.04, allocations: 0.9613 MB / 0.6307 GB, free: 16.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/1.04, allocations: 305.1 kB / 0.631 GB, free: 16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/1.044, allocations: 1.891 MB / 0.6329 GB, free: 14.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/1.048, allocations: 4.396 MB / 0.6371 GB, free: 8.469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/1.055, allocations: 6.787 MB / 0.6438 GB, free: 488 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.075e-05/1.055, allocations: 28 kB / 0.6438 GB, free: 460 kB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01372/1.069, allocations: 6.982 MB / 0.6506 GB, free: 9.445 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.069, allocations: 40 kB / 0.6507 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.069, allocations: 88 kB / 0.6507 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.071, allocations: 0.7399 MB / 0.6515 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/1.075, allocations: 1.123 MB / 0.6526 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/1.084, allocations: 5.542 MB / 0.658 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.088, allocations: 315.4 kB / 0.6583 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/1.089, allocations: 272 kB / 0.6585 GB, free: 1.219 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005954/1.095, allocations: 2.523 MB / 0.661 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.097, allocations: 405.4 kB / 0.6614 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00965/1.106, allocations: 4.263 MB / 0.6655 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/1.106, allocations: 27.94 kB / 0.6656 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/1.107, allocations: 8 kB / 0.6656 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/1.107, allocations: 15.94 kB / 0.6656 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0322/1.139, allocations: 13.94 MB / 0.6792 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/1.139, allocations: 16.12 kB / 0.6792 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/1.141, allocations: 479.2 kB / 0.6797 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/1.143, allocations: 0.6968 MB / 0.6804 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/1.144, allocations: 71.98 kB / 0.6804 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.154, allocations: 7.293 MB / 0.6875 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002067/1.156, allocations: 1.845 MB / 0.6893 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.169, allocations: 6.748 MB / 0.6959 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002819/1.172, allocations: 0.7471 MB / 0.6967 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.173, allocations: 59.98 kB / 0.6967 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.176, allocations: 171.9 kB / 0.6969 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006128/1.176, allocations: 237.1 kB / 0.6971 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.177, allocations: 91.97 kB / 0.6972 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005965/1.183, allocations: 2.509 MB / 0.6997 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.183, allocations: 0 / 0.6997 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007205/1.19, allocations: 1.293 MB / 0.7009 GB, free: 4.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001/1.191, allocations: 237.4 kB / 0.7011 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.201, allocations: 4.82 MB / 0.7058 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.201, allocations: 0 / 0.7058 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004749/1.206, allocations: 2.179 MB / 0.708 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007751/1.214, allocations: 0.9802 MB / 0.7089 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/1.247, allocations: 12.49 MB / 0.7211 GB, free: 40 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008658/1.256, allocations: 4.382 MB / 0.7254 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.258, allocations: 339.3 kB / 0.7257 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of SimCode: time 1.213e-06/1.258, allocations: 0 / 0.7257 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.4497/1.707, allocations: 201.8 MB / 0.9228 GB, free: 1.004 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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: 17.2516029428225]