Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 105.7 kB / 18.4 MB, free: 4.676 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.001019/0.001019, allocations: 187 kB / 19.34 MB, free: 3.754 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.248/1.248, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001178/0.001178, allocations: 47.92 kB / 329.3 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07175/0.07293, allocations: 46.62 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.1838/0.2567, allocations: 40.01 MB / 415.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02084/0.2776, allocations: 10.55 MB / 426.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006501/0.2841, allocations: 270.2 kB / 426.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01844/0.3027, allocations: 8.606 MB / 435.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.3132, allocations: 3.711 MB / 439 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005777/0.319, allocations: 2.388 MB / 441.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01485/0.3339, allocations: 13.42 MB / 454.8 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03185/0.3657, allocations: 25.36 MB / 480.2 MB, free: 6.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00883/0.3746, allocations: 7.063 MB / 487.3 MB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.3855, allocations: 8.058 MB / 495.3 MB, free: 7.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003579/0.3891, allocations: 1.992 MB / 497.3 MB, free: 5.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005375/0.3945, allocations: 2.378 MB / 499.7 MB, free: 3.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003799/0.3983, allocations: 4.15 MB / 0.492 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009487/0.4078, allocations: 7.828 MB / 0.4997 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02292/0.4308, allocations: 26.42 MB / 0.5255 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4308, allocations: 3.938 kB / 0.5255 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4308, allocations: 0 / 0.5255 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004836/0.4313, allocations: 0 / 0.5255 GB, free: 12.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.03936/0.4707, allocations: 15.59 MB / 0.5407 GB, free: 13.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4707, allocations: 12.02 kB / 0.5407 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04974/0.5205, allocations: 9.118 MB / 0.5496 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3153/0.8358, allocations: 7.505 MB / 0.5569 GB, free: 133.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006341/0.8365, allocations: 0.9459 MB / 0.5579 GB, free: 133.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/0.8398, allocations: 1.237 MB / 0.5591 GB, free: 132.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03603/0.8759, allocations: 20.15 MB / 0.5788 GB, free: 124.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002509/0.8761, allocations: 25.44 kB / 0.5788 GB, free: 124.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001301/0.8775, allocations: 0.517 MB / 0.5793 GB, free: 124.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005541/0.878, allocations: 0.7308 MB / 0.58 GB, free: 124.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/0.9047, allocations: 18.98 MB / 0.5985 GB, free: 112.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07634/0.9811, allocations: 62.64 MB / 0.6597 GB, free: 48.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03012/1.011, allocations: 56.98 MB / 0.7154 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006679/1.018, allocations: 4.086 MB / 0.7193 GB, free: 12.86 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/1.038, allocations: 11.34 MB / 0.7304 GB, free: 1.496 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/1.038, allocations: 69.31 kB / 0.7305 GB, free: 1.418 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=349): time 5.65e-06/1.038, allocations: 0 / 0.7305 GB, free: 1.418 MB / 0.4982 GB Notification: Performance of matching and sorting (n=389): time 0.2091/1.247, allocations: 18.14 MB / 0.7482 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.247, allocations: 96.22 kB / 0.7483 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006887/1.254, allocations: 5.46 MB / 0.7536 GB, free: 165 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005203/1.255, allocations: 89.14 kB / 0.7537 GB, free: 165 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.257, allocations: 5.882 MB / 0.7595 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009854/1.258, allocations: 1.372 MB / 0.7608 GB, free: 160.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/1.26, allocations: 1.511 MB / 0.7623 GB, free: 159.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.477e-05/1.26, allocations: 301.8 kB / 0.7626 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004434/1.265, allocations: 3.086 MB / 0.7656 GB, free: 158.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005307/1.27, allocations: 6.75 MB / 0.7722 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.281, allocations: 10.59 MB / 0.7825 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.281, allocations: 36.28 kB / 0.7825 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.01602/1.297, allocations: 10.79 MB / 0.7931 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/1.297, allocations: 69.97 kB / 0.7931 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.297, allocations: 124 kB / 0.7933 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/1.3, allocations: 0.9719 MB / 0.7942 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005851/1.305, allocations: 1.817 MB / 0.796 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009601/1.315, allocations: 10.25 MB / 0.806 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005316/1.32, allocations: 433.4 kB / 0.8064 GB, free: 132.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006762/1.321, allocations: 422.8 kB / 0.8068 GB, free: 132 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * 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 (933): * Single equations (assignments): 928 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005514/1.327, allocations: 4.455 MB / 0.8112 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000881/1.327, allocations: 0.546 MB / 0.8117 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009279/1.337, allocations: 6.511 MB / 0.8181 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/1.337, allocations: 25.14 kB / 0.8181 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.337, allocations: 0 / 0.8181 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.339, allocations: 1.072 MB / 0.8191 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/1.339, allocations: 72 kB / 0.8192 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.341, allocations: 220.7 kB / 0.8194 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/1.342, allocations: 279.1 kB / 0.8197 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009272/1.351, allocations: 6.081 MB / 0.8256 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009118/1.36, allocations: 8.054 MB / 0.8335 GB, free: 112 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002481/1.363, allocations: 2.426 MB / 0.8358 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004349/1.367, allocations: 3.603 MB / 0.8394 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of Backend: time 3.9e-07/1.367, allocations: 0 / 0.8394 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009369/1.377, allocations: 6.276 MB / 0.8455 GB, free: 99.67 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02697/1.404, allocations: 20.1 MB / 0.8651 GB, free: 79.54 MB / 0.5138 GB Notification: Performance of Templates: time 0.2975/1.701, allocations: 89.52 MB / 0.9525 GB, free: 162.3 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches