Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 96.81 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 52.39 kB / 280.7 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1589, allocations: 46.62 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01609/0.175, allocations: 10.88 MB / 338.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.1856, allocations: 3.673 MB / 341.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.1889, allocations: 55.75 kB / 341.9 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.1921, allocations: 0.8227 MB / 342.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.1974, allocations: 0.8619 MB / 343.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1991, allocations: 471.3 kB / 344 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005477/0.2045, allocations: 2.931 MB / 347 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.2081, allocations: 2.675 MB / 349.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.2111, allocations: 1.367 MB / 351 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/0.2144, allocations: 1.748 MB / 352.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.2152, allocations: 376 kB / 353.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.2167, allocations: 475.8 kB / 353.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.218, allocations: 1.079 MB / 354.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.2204, allocations: 1.668 MB / 356.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.2272, allocations: 4.813 MB / 361.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.2273, allocations: 0 / 361.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.442e-06/0.2273, allocations: 4 kB / 361.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002169/0.2276, allocations: 4 kB / 361.2 MB, free: 2.406 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.01067/0.2382, allocations: 3.386 MB / 364.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.2383, allocations: 8.031 kB / 364.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.2395, allocations: 337.1 kB / 364.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.2431, allocations: 1.694 MB / 366.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.2434, allocations: 193.3 kB / 366.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.244, allocations: 251.9 kB / 367 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.2545, allocations: 3.287 MB / 370.3 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.2548, allocations: 11.88 kB / 370.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003954/0.2552, allocations: 100 kB / 370.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002547/0.2554, allocations: 120.9 kB / 370.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.2642, allocations: 2.744 MB / 373.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2892/0.5535, allocations: 10.51 MB / 383.8 MB, free: 45.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.556, allocations: 1.355 MB / 385.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.5576, allocations: 0.7746 MB / 385.9 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.5579, allocations: 204.1 kB / 386.1 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.558, allocations: 49.09 kB / 386.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.318e-06/0.558, allocations: 0 / 386.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01867/0.5767, allocations: 7.031 MB / 393.2 MB, free: 42.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.5768, allocations: 67.62 kB / 393.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.5802, allocations: 1.793 MB / 395 MB, free: 41.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5803, allocations: 45.8 kB / 395.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000941/0.5813, allocations: 1.275 MB / 396.4 MB, free: 40.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.5817, allocations: 427.5 kB / 396.8 MB, free: 40.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.5822, allocations: 297.3 kB / 397.1 MB, free: 40.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.5823, allocations: 307.7 kB / 397.4 MB, free: 40.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.5833, allocations: 0.7768 MB / 398.2 MB, free: 39.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.5845, allocations: 1.29 MB / 399.4 MB, free: 38.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.587, allocations: 2.218 MB / 401.7 MB, free: 37.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.587, allocations: 3.969 kB / 401.7 MB, free: 37.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003892/0.5909, allocations: 2.478 MB / 404.1 MB, free: 35.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.5909, allocations: 11.25 kB / 404.2 MB, free: 35.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.591, allocations: 18.59 kB / 404.2 MB, free: 35.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/0.5916, allocations: 238.8 kB / 404.4 MB, free: 35.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.593, allocations: 420.2 kB / 404.8 MB, free: 35.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.5958, allocations: 3.241 MB / 408.1 MB, free: 32.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.5975, allocations: 130.4 kB / 408.2 MB, free: 32.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5976, allocations: 71.34 kB / 408.3 MB, free: 32.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001757/0.5994, allocations: 0.8275 MB / 409.1 MB, free: 31.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/0.5998, allocations: 188.2 kB / 409.3 MB, free: 31.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.6027, allocations: 2.035 MB / 411.3 MB, free: 29.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6028, allocations: 12 kB / 411.3 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6028, allocations: 0 / 411.3 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.6028, allocations: 7.969 kB / 411.3 MB, free: 29.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.6099, allocations: 4.762 MB / 416.1 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6099, allocations: 1.922 kB / 416.1 MB, free: 24.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6109, allocations: 263.6 kB / 416.3 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/0.6114, allocations: 207.5 kB / 416.5 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.6115, allocations: 27.98 kB / 416.6 MB, free: 24.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.6138, allocations: 3.216 MB / 419.8 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6138, allocations: 0 / 419.8 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.6177, allocations: 3.126 MB / 422.9 MB, free: 17.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/0.6185, allocations: 422.7 kB / 423.3 MB, free: 17.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.6189, allocations: 24 kB / 423.3 MB, free: 17.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.62, allocations: 99.8 kB / 423.4 MB, free: 17.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.6202, allocations: 84.95 kB / 423.5 MB, free: 17.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.6203, allocations: 39.69 kB / 423.6 MB, free: 17.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.6219, allocations: 1.22 MB / 424.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6219, allocations: 0 / 424.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001998/0.6239, allocations: 485.1 kB / 425.3 MB, free: 15.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,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.0004175/0.6244, allocations: 189.5 kB / 425.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004775/0.6292, allocations: 2.983 MB / 428.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.6292, allocations: 0 / 428.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.6306, allocations: 1.333 MB / 429.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.6328, allocations: 0.492 MB / 430.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.6399, allocations: 4.925 MB / 435.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.6413, allocations: 2.014 MB / 437.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.6427, allocations: 0.4921 MB / 437.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.6431, allocations: 139.4 kB / 437.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6431, allocations: 0 / 437.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of Templates: time 0.05414/0.6973, allocations: 25.69 MB / 463.5 MB, free: 8.945 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches