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.001812/0.001812, allocations: 109.5 kB / 20.43 MB, free: 1.324 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.002109/0.002109, allocations: 180.3 kB / 23.71 MB, free: 4.566 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.494/1.494, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001522/0.001522, allocations: 43.92 kB / 371 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2349, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0352/0.2701, allocations: 30.55 MB / 453.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.2874, allocations: 8.677 MB / 462.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004903/0.2923, allocations: 218.9 kB / 462.6 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0135/0.3058, allocations: 5.01 MB / 467.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009882/0.3157, allocations: 3.133 MB / 470.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005124/0.3208, allocations: 1.627 MB / 472.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01241/0.3332, allocations: 8.768 MB / 481.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.3472, allocations: 8.407 MB / 489.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00643/0.3537, allocations: 4.343 MB / 493.9 MB, free: 7.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007876/0.3616, allocations: 4.796 MB / 498.7 MB, free: 2.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002939/0.3645, allocations: 1.164 MB / 499.8 MB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/0.3699, allocations: 1.539 MB / 0.4896 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003784/0.3737, allocations: 2.423 MB / 0.492 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008375/0.3821, allocations: 4.669 MB / 0.4965 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02171/0.4038, allocations: 15.85 MB / 0.512 GB, free: 9.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4038, allocations: 0 / 0.512 GB, free: 9.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4038, allocations: 0 / 0.512 GB, free: 9.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003666/0.4042, allocations: 7.938 kB / 0.512 GB, free: 9.09 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.03008/0.4342, allocations: 9.849 MB / 0.5216 GB, free: 15.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4343, allocations: 16.03 kB / 0.5217 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/0.4653, allocations: 5.31 MB / 0.5268 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.4772, allocations: 5.117 MB / 0.5318 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004775/0.4777, allocations: 0.5299 MB / 0.5324 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/0.4797, allocations: 0.7108 MB / 0.5331 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2207/0.7004, allocations: 11.32 MB / 0.5441 GB, free: 93.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/0.7005, allocations: 20.95 kB / 0.5441 GB, free: 93.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007873/0.7013, allocations: 298.8 kB / 0.5444 GB, free: 93.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003524/0.7017, allocations: 445.9 kB / 0.5448 GB, free: 93.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.7183, allocations: 10.83 MB / 0.5554 GB, free: 88.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.7631, allocations: 36.53 MB / 0.5911 GB, free: 54.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.7737, allocations: 7.453 MB / 0.5984 GB, free: 48.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/0.7767, allocations: 2.421 MB / 0.6007 GB, free: 45.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.7877, allocations: 7.479 MB / 0.608 GB, free: 38.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.7878, allocations: 60.5 kB / 0.6081 GB, free: 38.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.258e-06/0.7878, allocations: 0 / 0.6081 GB, free: 38.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01704/0.8048, allocations: 10.28 MB / 0.6181 GB, free: 28.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001572/0.8064, allocations: 1.892 MB / 0.62 GB, free: 26.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/0.8109, allocations: 3.843 MB / 0.6237 GB, free: 22.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.8112, allocations: 61.7 kB / 0.6238 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.8126, allocations: 3.677 MB / 0.6274 GB, free: 18.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006061/0.8132, allocations: 0.8673 MB / 0.6282 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.8143, allocations: 0.9613 MB / 0.6292 GB, free: 17.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.663e-05/0.8144, allocations: 301.1 kB / 0.6295 GB, free: 16.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/0.8166, allocations: 1.891 MB / 0.6313 GB, free: 14.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.8198, allocations: 4.392 MB / 0.6356 GB, free: 9.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005955/0.8257, allocations: 6.791 MB / 0.6422 GB, free: 1.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.48e-05/0.8258, allocations: 28 kB / 0.6423 GB, free: 1.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01323/0.839, allocations: 6.989 MB / 0.6491 GB, free: 10.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/0.8391, allocations: 40 kB / 0.6491 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.8392, allocations: 88.08 kB / 0.6492 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.8413, allocations: 0.74 MB / 0.6499 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/0.8452, allocations: 1.119 MB / 0.651 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008376/0.8536, allocations: 5.545 MB / 0.6564 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/0.8577, allocations: 319.4 kB / 0.6567 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007306/0.8584, allocations: 268 kB / 0.657 GB, free: 2.008 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.004723/0.8632, allocations: 2.514 MB / 0.6594 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009722/0.8641, allocations: 409.4 kB / 0.6598 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00824/0.8724, allocations: 4.259 MB / 0.664 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.8724, allocations: 24 kB / 0.664 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.8724, allocations: 8 kB / 0.664 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.8724, allocations: 11.95 kB / 0.664 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/0.8978, allocations: 13.95 MB / 0.6777 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.8978, allocations: 16.06 kB / 0.6777 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.8998, allocations: 475.2 kB / 0.6781 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/0.902, allocations: 0.689 MB / 0.6788 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.9022, allocations: 71.98 kB / 0.6789 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.9127, allocations: 7.296 MB / 0.686 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002026/0.9148, allocations: 1.854 MB / 0.6878 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.9261, allocations: 6.746 MB / 0.6944 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/0.9284, allocations: 0.7471 MB / 0.6951 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/0.929, allocations: 68.05 kB / 0.6952 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.9309, allocations: 159.8 kB / 0.6953 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/0.9314, allocations: 237.3 kB / 0.6956 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.9316, allocations: 87.98 kB / 0.6956 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004196/0.9358, allocations: 2.513 MB / 0.6981 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9358, allocations: 0 / 0.6981 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005102/0.9409, allocations: 1.293 MB / 0.6994 GB, free: 5.754 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.0006435/0.9415, allocations: 237.2 kB / 0.6996 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008896/0.9504, allocations: 4.816 MB / 0.7043 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.9505, allocations: 4 kB / 0.7043 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/0.9545, allocations: 2.183 MB / 0.7064 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004765/0.9593, allocations: 0.9879 MB / 0.7074 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/0.9816, allocations: 12.59 MB / 0.7197 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/0.9865, allocations: 4.496 MB / 0.7241 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003861/0.9904, allocations: 1.356 MB / 0.7254 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008199/0.9912, allocations: 295.4 kB / 0.7257 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.9912, allocations: 0 / 0.7257 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.2934/1.285, allocations: 57.6 MB / 0.7819 GB, free: 146.1 MB / 0.5294 GB " [Timeout remaining time 659] 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/jenkins/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/jenkins/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: 7.315027102828026]