Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 189.5 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 251.4 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] 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.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 51.91 kB / 369.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2993, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.01393/0.3132, allocations: 11.49 MB / 432.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007717/0.321, allocations: 3.544 MB / 436.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.3234, allocations: 67.75 kB / 436.4 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.3263, allocations: 0.8931 MB / 437.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.3303, allocations: 0.9708 MB / 438.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.3323, allocations: 451.2 kB / 438.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007681/0.34, allocations: 3.732 MB / 442.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/0.3445, allocations: 2.092 MB / 444.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/0.3489, allocations: 1.663 MB / 446.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00527/0.3541, allocations: 2.016 MB / 448.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.3556, allocations: 416 kB / 448.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.3576, allocations: 0.4998 MB / 449.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.3595, allocations: 1.208 MB / 450.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004476/0.3639, allocations: 1.944 MB / 452.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.3748, allocations: 5.56 MB / 457.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3748, allocations: 0 / 457.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3748, allocations: 0 / 457.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001969/0.375, allocations: 7.938 kB / 457.8 MB, free: 10.43 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 739 * Number of variables: 739 Notification: Performance of Generate backend data structure: time 0.0116/0.3866, allocations: 3.903 MB / 461.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3866, allocations: 8.031 kB / 461.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3878, allocations: 410.6 kB / 462.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/0.3921, allocations: 2.073 MB / 464.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.3923, allocations: 214.1 kB / 464.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/0.3927, allocations: 283.9 kB / 464.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/0.4, allocations: 3.853 MB / 468.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-05/0.4001, allocations: 15.83 kB / 468.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.4004, allocations: 124 kB / 468.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/0.4005, allocations: 125.5 kB / 468.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00573/0.4062, allocations: 3.25 MB / 472.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.4277, allocations: 11.81 MB / 483.9 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.4316, allocations: 3.547 MB / 487.4 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.4338, allocations: 1.153 MB / 488.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.4341, allocations: 122.4 kB / 488.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.4341, allocations: 57.67 kB / 488.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=136): time 3.507e-06/0.4341, allocations: 4 kB / 488.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=151): time 0.0157/0.4498, allocations: 7.352 MB / 496.1 MB, free: 2.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4499, allocations: 68.72 kB / 496.2 MB, free: 2.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/0.4535, allocations: 2.06 MB / 498.2 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000249/0.4537, allocations: 53.7 kB / 498.3 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.455, allocations: 1.405 MB / 499.7 MB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.4556, allocations: 0.5345 MB / 0.4885 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.4562, allocations: 351.4 kB / 0.4888 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4564, allocations: 305.1 kB / 0.4891 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4578, allocations: 0.8627 MB / 0.49 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4597, allocations: 1.385 MB / 0.4913 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.463, allocations: 2.318 MB / 0.4936 GB, free: 9.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.463, allocations: 4 kB / 0.4936 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006155/0.4691, allocations: 3.27 MB / 0.4968 GB, free: 5.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.4692, allocations: 12 kB / 0.4968 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.4692, allocations: 16 kB / 0.4968 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.4718, allocations: 0.8409 MB / 0.4976 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4732, allocations: 351.4 kB / 0.498 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.4939, allocations: 20.6 MB / 0.5181 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.4959, allocations: 99.92 kB / 0.5182 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/0.4962, allocations: 72 kB / 0.5183 GB, free: 14.2 MB / 446.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: 2 (booleanReplicator3.y[3],booleanReplicator2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(2,9,100.0%), (1,6,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (2,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002168/0.4984, allocations: 0.9343 MB / 0.5192 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/0.4991, allocations: 238.5 kB / 0.5194 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/0.5043, allocations: 2.609 MB / 0.5219 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.5043, allocations: 12 kB / 0.522 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/0.5043, allocations: 8 kB / 0.522 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5043, allocations: 7.969 kB / 0.522 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.5175, allocations: 5.859 MB / 0.5277 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.5176, allocations: 4 kB / 0.5277 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.5184, allocations: 199.6 kB / 0.5279 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.5205, allocations: 0.7386 MB / 0.5286 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.5206, allocations: 35.98 kB / 0.5286 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2913/0.8119, allocations: 18.16 MB / 0.5464 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.8119, allocations: 6.594 kB / 0.5464 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/0.8186, allocations: 3.794 MB / 0.5501 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8197, allocations: 488.1 kB / 0.5506 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.82, allocations: 33.84 kB / 0.5506 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.8211, allocations: 110.8 kB / 0.5507 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.8214, allocations: 141.1 kB / 0.5508 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.8215, allocations: 48.69 kB / 0.5509 GB, free: 117.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.8233, allocations: 1.399 MB / 0.5522 GB, free: 117.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8233, allocations: 0 / 0.5522 GB, free: 117.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002342/0.8257, allocations: 0.6568 MB / 0.5529 GB, free: 117.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],inertiaLoad.phi) * Number of discrete variables: 2 (booleanReplicator2.y[3],booleanReplicator3.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(2,9,100.0%), (1,1,100.0%), (1,6,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,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.0003752/0.826, allocations: 213.9 kB / 0.5531 GB, free: 117.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.8301, allocations: 3.357 MB / 0.5564 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.8301, allocations: 0 / 0.5564 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.8322, allocations: 2.148 MB / 0.5585 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.8352, allocations: 0.6789 MB / 0.5591 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/0.844, allocations: 5.797 MB / 0.5648 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.8455, allocations: 2.249 MB / 0.567 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.8461, allocations: 143.2 kB / 0.5671 GB, free: 108.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8461, allocations: 0 / 0.5671 GB, free: 108.8 MB / 462.1 MB Notification: Performance of Templates: time 0.3944/1.241, allocations: 188.4 MB / 0.7511 GB, free: 194.2 MB / 0.5294 GB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_ResistiveBraking/SMPM_ResistiveBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches