Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.001319/0.001319, allocations: 81.2 kB / 21.99 MB, free: 4.75 MB / 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.001374/0.001374, allocations: 157.8 kB / 25.24 MB, free: 2.742 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.327/1.327, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [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.001917/0.001917, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2142, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01502/0.2292, allocations: 10.32 MB / 358.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.2372, allocations: 3.765 MB / 362.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.2385, allocations: 71.5 kB / 362.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.2407, allocations: 0.8429 MB / 363.5 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.2435, allocations: 1.037 MB / 364.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2448, allocations: 0.5344 MB / 365.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004327/0.2491, allocations: 3.452 MB / 368.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.2514, allocations: 1.459 MB / 370 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.2536, allocations: 1.569 MB / 371.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.2568, allocations: 1.872 MB / 373.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007321/0.2575, allocations: 408 kB / 373.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.259, allocations: 0.6245 MB / 374.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.2604, allocations: 1.169 MB / 375.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.2625, allocations: 1.486 MB / 377.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006466/0.269, allocations: 5.413 MB / 382.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.269, allocations: 0 / 382.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.269, allocations: 0 / 382.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.188e-05/0.2691, allocations: 0 / 382.5 MB, free: 13.34 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007771/0.2769, allocations: 3.718 MB / 386.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2769, allocations: 11.98 kB / 386.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.2783, allocations: 450.6 kB / 386.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.2818, allocations: 1.797 MB / 388.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.282, allocations: 205.4 kB / 388.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/0.2824, allocations: 263.9 kB / 389 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006318/0.2887, allocations: 3.646 MB / 392.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/0.2888, allocations: 11.94 kB / 392.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.2891, allocations: 108 kB / 392.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.2892, allocations: 121.2 kB / 392.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005557/0.2948, allocations: 2.956 MB / 395.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.3119, allocations: 9.587 MB / 405.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.3146, allocations: 1.514 MB / 406.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.3167, allocations: 1.094 MB / 408 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.317, allocations: 61.27 kB / 408 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.317, allocations: 47.81 kB / 408.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.296e-06/0.317, allocations: 0 / 408.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01666/0.3337, allocations: 7.051 MB / 415.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3337, allocations: 72.66 kB / 415.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.3365, allocations: 1.818 MB / 417 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.3366, allocations: 53.7 kB / 417.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.3377, allocations: 1.357 MB / 418.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.3382, allocations: 0.5307 MB / 419 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000561/0.3388, allocations: 331.4 kB / 419.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3389, allocations: 305.1 kB / 419.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.3406, allocations: 0.8784 MB / 420.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.3427, allocations: 1.38 MB / 421.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.3464, allocations: 2.378 MB / 424.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.3464, allocations: 4 kB / 424.2 MB, free: 2.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005364/0.3518, allocations: 2.884 MB / 427.1 MB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3518, allocations: 23.78 kB / 427.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.3518, allocations: 16 kB / 427.2 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.353, allocations: 458.5 kB / 427.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.3547, allocations: 431.3 kB / 428 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007322/0.362, allocations: 5.794 MB / 433.8 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.3635, allocations: 131.8 kB / 434 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.3637, allocations: 72 kB / 434 MB, free: 8.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001491/0.3652, allocations: 0.86 MB / 434.9 MB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.3656, allocations: 202.7 kB / 435.1 MB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/0.3703, allocations: 2.479 MB / 437.6 MB, free: 5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.3703, allocations: 19.98 kB / 437.6 MB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3703, allocations: 4 kB / 437.6 MB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.3704, allocations: 7.969 kB / 437.6 MB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009351/0.3797, allocations: 4.851 MB / 442.4 MB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3797, allocations: 4 kB / 442.4 MB, free: 16 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.381, allocations: 287.6 kB / 442.7 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.3824, allocations: 0.4946 MB / 443.2 MB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.3825, allocations: 43.97 kB / 443.3 MB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008527/0.3911, allocations: 7.23 MB / 450.5 MB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.3911, allocations: 11.94 kB / 450.5 MB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006581/0.3977, allocations: 3.749 MB / 454.3 MB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.3988, allocations: 394.5 kB / 454.6 MB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.3991, allocations: 39.98 kB / 454.7 MB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.4002, allocations: 95.89 kB / 454.8 MB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4005, allocations: 133 kB / 454.9 MB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.4007, allocations: 44 kB / 454.9 MB, free: 3.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001907/0.4026, allocations: 1.23 MB / 456.2 MB, free: 1.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4026, allocations: 0 / 456.2 MB, free: 1.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001925/0.4045, allocations: 0.5781 MB / 456.8 MB, free: 1.312 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.0004594/0.4049, allocations: 226.8 kB / 457 MB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004619/0.4096, allocations: 2.447 MB / 459.4 MB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4096, allocations: 4.188 kB / 459.4 MB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.4124, allocations: 1.537 MB / 461 MB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.4144, allocations: 433.9 kB / 461.4 MB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009569/0.424, allocations: 5.705 MB / 467.1 MB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.4259, allocations: 1.576 MB / 468.7 MB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001342/0.4272, allocations: 447.5 kB / 469.1 MB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.4277, allocations: 132.5 kB / 469.2 MB, free: 4.633 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4277, allocations: 0 / 469.2 MB, free: 4.633 MB / 430.1 MB Notification: Performance of Templates: time 0.2044/0.632, allocations: 29.65 MB / 498.9 MB, free: 92.43 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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: 6.022979076951742]