Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002287/0.002287, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 177 MB / 204.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.909e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01306/0.01309, allocations: 9.064 MB / 281.3 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007031/0.02012, allocations: 3.151 MB / 284.4 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.02171, allocations: 71.5 kB / 284.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.02381, allocations: 0.7022 MB / 285.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.02678, allocations: 0.9196 MB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.02798, allocations: 435.3 kB / 286.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.03222, allocations: 3.083 MB / 289.6 MB, free: 332 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1118/0.144, allocations: 1.328 MB / 291 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.1468, allocations: 2.018 MB / 293 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.1491, allocations: 1.492 MB / 294.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006019/0.1497, allocations: 355.1 kB / 294.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.1507, allocations: 471.4 kB / 295.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009322/0.1516, allocations: 1.055 MB / 296.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.153, allocations: 1.105 MB / 297.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.1576, allocations: 4.772 MB / 302.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1576, allocations: 0.5938 kB / 302.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1576, allocations: 0.5312 kB / 302.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.815e-05/0.1577, allocations: 0 / 302.2 MB, free: 14.1 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006195/0.1639, allocations: 3.258 MB / 305.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1639, allocations: 6.812 kB / 305.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.1653, allocations: 0.5596 MB / 306 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.1679, allocations: 1.779 MB / 307.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.168, allocations: 175 kB / 308 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.1683, allocations: 229.4 kB / 308.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.1728, allocations: 3.238 MB / 311.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/0.1729, allocations: 10.98 kB / 311.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.1731, allocations: 96.34 kB / 311.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.705e-05/0.1732, allocations: 107.1 kB / 311.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.177, allocations: 2.699 MB / 314.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.1902, allocations: 8.533 MB / 322.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.193, allocations: 1.411 MB / 324.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.1951, allocations: 1.049 MB / 325.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.1954, allocations: 60.95 kB / 325.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.1954, allocations: 43.56 kB / 325.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.925e-06/0.1954, allocations: 0 / 325.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.01659/0.212, allocations: 6.385 MB / 331.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.2121, allocations: 68.72 kB / 331.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.2151, allocations: 1.623 MB / 333.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.2154, allocations: 49.7 kB / 333.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.2166, allocations: 1.192 MB / 334.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/0.2173, allocations: 468.3 kB / 335.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/0.2179, allocations: 279.5 kB / 335.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2181, allocations: 305.1 kB / 335.8 MB, free: 352 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.2196, allocations: 0.7957 MB / 336.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.2216, allocations: 1.211 MB / 337.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.2252, allocations: 2.091 MB / 339.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.2252, allocations: 4 kB / 339.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005501/0.2307, allocations: 2.651 MB / 342.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.2308, allocations: 15.94 kB / 342.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.2308, allocations: 12 kB / 342.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.232, allocations: 458.2 kB / 343 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.2334, allocations: 360.1 kB / 343.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008198/0.2416, allocations: 6.66 MB / 350 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.2432, allocations: 109.8 kB / 350.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.2433, allocations: 60 kB / 350.2 MB, free: 1.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001568/0.2449, allocations: 0.8013 MB / 351 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/0.2454, allocations: 234.7 kB / 351.2 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/0.25, allocations: 2.276 MB / 353.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.25, allocations: 12 kB / 353.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.2501, allocations: 8 kB / 353.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.2501, allocations: 7.969 kB / 353.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009198/0.2593, allocations: 4.451 MB / 358 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2593, allocations: 0 / 358 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.2603, allocations: 241.1 kB / 358.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.2617, allocations: 484.5 kB / 358.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.2618, allocations: 31.98 kB / 358.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009887/0.2717, allocations: 8.107 MB / 366.8 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.2717, allocations: 7.844 kB / 366.8 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/0.2781, allocations: 3.468 MB / 370.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.2792, allocations: 350.8 kB / 370.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.2795, allocations: 31.98 kB / 370.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.2805, allocations: 87.91 kB / 370.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/0.2808, allocations: 124.2 kB / 370.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.2809, allocations: 39.98 kB / 370.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002086/0.283, allocations: 1.097 MB / 372 MB, free: 11.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.283, allocations: 0 / 372 MB, free: 11.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002089/0.2851, allocations: 0.4999 MB / 372.5 MB, free: 10.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004517/0.2855, allocations: 202.8 kB / 372.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004379/0.2899, allocations: 2.325 MB / 375.1 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2899, allocations: 0 / 375.1 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002835/0.2928, allocations: 1.547 MB / 376.6 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.2951, allocations: 443.8 kB / 377 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/0.3045, allocations: 4.999 MB / 382 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.3064, allocations: 1.439 MB / 383.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001403/0.3078, allocations: 426.3 kB / 383.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.3082, allocations: 124.5 kB / 384 MB, free: 15.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.704e-06/0.3082, allocations: 0 / 384 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Templates: time 0.05073/0.3589, allocations: 26.96 MB / 411 MB, free: 4.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.3538527940399945]