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.001189/0.001189, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002731, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009321/0.0009321, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002218, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9194/0.9194, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.024, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.822e-05, allocations: 2.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02242/0.02244, allocations: 28.93 MB / 268.5 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1493/0.1718, allocations: 8.991 MB / 277.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006338/0.1781, allocations: 220.6 kB / 277.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008601/0.1867, allocations: 5.181 MB / 282.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008881/0.1956, allocations: 3.111 MB / 286 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.1996, allocations: 1.594 MB / 287.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.2111, allocations: 9.138 MB / 296.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.2233, allocations: 9.065 MB / 305.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0122/0.2355, allocations: 6.796 MB / 312.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007334/0.2428, allocations: 4.582 MB / 317.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002943/0.2458, allocations: 1.16 MB / 318.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.2505, allocations: 1.527 MB / 319.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.2529, allocations: 1.987 MB / 321.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006122/0.259, allocations: 2.652 MB / 324.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.2699, allocations: 7.33 MB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.811e-05/0.2699, allocations: 3.984 kB / 331.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2699, allocations: 0 / 331.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003849/0.2703, allocations: 0 / 331.8 MB, free: 0.8164 MB / 298.7 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.01686/0.2871, allocations: 10.92 MB / 342.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2872, allocations: 12.03 kB / 342.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.3013, allocations: 5.268 MB / 348 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/0.3075, allocations: 2.771 MB / 350.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.3078, allocations: 0.5299 MB / 351.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.3093, allocations: 0.7166 MB / 352 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007621/0.317, allocations: 5.942 MB / 358 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.3171, allocations: 11.55 kB / 358 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000472/0.3176, allocations: 300.7 kB / 358.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/0.3179, allocations: 453.8 kB / 358.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004928/0.3228, allocations: 3 MB / 361.7 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03267/0.3555, allocations: 23.27 MB / 385 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.3606, allocations: 4.386 MB / 389.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3617, allocations: 0.9365 MB / 390.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00691/0.3686, allocations: 3.678 MB / 394 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.3686, allocations: 60.5 kB / 394.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 3.697e-06/0.3686, allocations: 0 / 394.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.008679/0.3773, allocations: 4.706 MB / 398.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001149/0.3785, allocations: 1.603 MB / 400.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.3809, allocations: 2.612 MB / 403 MB, free: 11.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.3811, allocations: 61.7 kB / 403 MB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.3824, allocations: 3.334 MB / 406.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000506/0.3829, allocations: 0.858 MB / 407.2 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000797/0.3837, allocations: 0.9134 MB / 408.2 MB, free: 6.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3839, allocations: 309.1 kB / 408.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3849, allocations: 0.6762 MB / 409.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.3869, allocations: 3.126 MB / 412.3 MB, free: 1.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1509/0.5379, allocations: 4.103 MB / 416.4 MB, free: 83.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.708e-05/0.5379, allocations: 24.25 kB / 416.4 MB, free: 83.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005702/0.5436, allocations: 3.478 MB / 419.9 MB, free: 83.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.5437, allocations: 42.34 kB / 419.9 MB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.614e-05/0.5438, allocations: 88.53 kB / 420 MB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.545, allocations: 0.6383 MB / 420.6 MB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.5471, allocations: 1.176 MB / 421.8 MB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.5496, allocations: 2.895 MB / 424.7 MB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5517, allocations: 238.2 kB / 424.9 MB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.5519, allocations: 232.8 kB / 425.2 MB, free: 81.91 MB / 378.7 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.001509/0.5534, allocations: 483.9 kB / 425.6 MB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.5539, allocations: 287.9 kB / 425.9 MB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.5561, allocations: 1.883 MB / 427.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.5562, allocations: 27.31 kB / 427.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5562, allocations: 4.812 kB / 427.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.5562, allocations: 15.17 kB / 427.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008755/0.5649, allocations: 7.788 MB / 435.6 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.565, allocations: 11.72 kB / 435.6 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/0.5659, allocations: 468.5 kB / 436.1 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009411/0.5668, allocations: 425.8 kB / 436.5 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.5683, allocations: 0.7744 MB / 437.3 MB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.5684, allocations: 62.86 kB / 437.3 MB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003238/0.5716, allocations: 4.216 MB / 441.6 MB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006605/0.5723, allocations: 1.56 MB / 443.1 MB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.5751, allocations: 2.673 MB / 445.8 MB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.5756, allocations: 61.56 kB / 445.9 MB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007715/0.5764, allocations: 91.94 kB / 445.9 MB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.5766, allocations: 229.3 kB / 446.2 MB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/0.5767, allocations: 71.52 kB / 446.2 MB, free: 75.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001195/0.5779, allocations: 1.189 MB / 447.4 MB, free: 75.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5779, allocations: 0.5469 kB / 447.4 MB, free: 75.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003359/0.5813, allocations: 1.288 MB / 448.7 MB, free: 75.71 MB / 378.7 MB 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.0003616/0.5816, allocations: 217.6 kB / 448.9 MB, free: 75.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.5845, allocations: 2.543 MB / 451.5 MB, free: 75.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001325/0.5847, allocations: 91.86 kB / 451.6 MB, free: 75.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.5859, allocations: 1.275 MB / 452.8 MB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.5882, allocations: 1.171 MB / 454 MB, free: 74.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04923/0.6374, allocations: 10.85 MB / 464.9 MB, free: 65.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.6389, allocations: 1.341 MB / 466.2 MB, free: 64.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001868/0.6408, allocations: 0.6005 MB / 466.8 MB, free: 64.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.6421, allocations: 0.8419 MB / 467.6 MB, free: 63.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.455e-06/0.6421, allocations: 0 / 467.6 MB, free: 63.53 MB / 378.7 MB Notification: Performance of Templates: time 0.06584/0.7079, allocations: 54.78 MB / 0.5102 GB, free: 9.609 MB / 378.7 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.0731164226308465]