Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001869/0.001869, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002254/0.002254, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2143, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02905/0.2433, allocations: 24.5 MB / 456.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.2563, allocations: 7.034 MB / 463.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.2594, allocations: 314.4 kB / 464.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02907/0.2885, allocations: 12.19 MB / 476.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009321/0.2978, allocations: 2.629 MB / 479 MB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.3034, allocations: 2.045 MB / 481.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02177/0.3252, allocations: 18.53 MB / 499.6 MB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04671/0.3719, allocations: 28.4 MB / 0.5156 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.3852, allocations: 10.16 MB / 0.5255 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01627/0.4015, allocations: 11.14 MB / 0.5364 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.334/0.7354, allocations: 2.919 MB / 0.5393 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007567/0.743, allocations: 3.195 MB / 0.5424 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005057/0.748, allocations: 5.487 MB / 0.5477 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01111/0.7592, allocations: 8.376 MB / 0.5559 GB, free: 38.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02631/0.7855, allocations: 39.27 MB / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7855, allocations: 0.8125 kB / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.7855, allocations: 0 / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007212/0.7862, allocations: 0.75 kB / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05079/0.837, allocations: 22.24 MB / 0.616 GB, free: 2.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.837, allocations: 8.031 kB / 0.616 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04487/0.8819, allocations: 8.241 MB / 0.6241 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02783/0.9097, allocations: 11.89 MB / 0.6357 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001355/0.9111, allocations: 1.342 MB / 0.637 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005563/0.9166, allocations: 1.752 MB / 0.6387 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06333/0.98, allocations: 29.01 MB / 0.667 GB, free: 14.74 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004122/0.9804, allocations: 19.91 kB / 0.667 GB, free: 14.72 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002669/0.9831, allocations: 0.7334 MB / 0.6678 GB, free: 14 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008635/0.9839, allocations: 0.8448 MB / 0.6686 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05094/1.035, allocations: 24.76 MB / 0.6928 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3314/1.366, allocations: 76.09 MB / 0.7671 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/1.383, allocations: 12.79 MB / 0.7796 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006178/1.389, allocations: 5.036 MB / 0.7845 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003425/1.389, allocations: 146.2 kB / 0.7846 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/1.389, allocations: 98.27 kB / 0.7847 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.858e-06/1.389, allocations: 0 / 0.7847 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02836/1.417, allocations: 14.67 MB / 0.799 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.418, allocations: 137.2 kB / 0.7992 GB, free: 139 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006989/1.425, allocations: 6.488 MB / 0.8055 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003064/1.425, allocations: 117 kB / 0.8056 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00277/1.428, allocations: 7.911 MB / 0.8133 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.429, allocations: 2.102 MB / 0.8154 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002445/1.431, allocations: 2.116 MB / 0.8175 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.164e-05/1.431, allocations: 305.1 kB / 0.8177 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005142/1.436, allocations: 4.745 MB / 0.8224 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006491/1.443, allocations: 9.5 MB / 0.8317 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.455, allocations: 15.33 MB / 0.8466 GB, free: 97.95 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.024e-05/1.455, allocations: 48 kB / 0.8467 GB, free: 97.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01868/1.474, allocations: 15.39 MB / 0.8617 GB, free: 82.42 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/1.474, allocations: 72 kB / 0.8618 GB, free: 82.35 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/1.474, allocations: 160 kB / 0.8619 GB, free: 82.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005234/1.48, allocations: 1.658 MB / 0.8635 GB, free: 80.54 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007191/1.487, allocations: 2.359 MB / 0.8658 GB, free: 78.17 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/1.499, allocations: 11.25 MB / 0.8768 GB, free: 66.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006903/1.506, allocations: 1.358 MB / 0.8782 GB, free: 65.46 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.507, allocations: 0.539 MB / 0.8787 GB, free: 64.92 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008544/1.515, allocations: 7.137 MB / 0.8857 GB, free: 57.76 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009372/1.516, allocations: 0.6326 MB / 0.8863 GB, free: 57.12 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.529, allocations: 10.07 MB / 0.8961 GB, free: 46.94 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.331e-05/1.529, allocations: 27.89 kB / 0.8961 GB, free: 46.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.529, allocations: 4.75 kB / 0.8961 GB, free: 46.91 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.532, allocations: 1.431 MB / 0.8975 GB, free: 45.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007243/1.533, allocations: 96 kB / 0.8976 GB, free: 45.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.535, allocations: 311.6 kB / 0.8979 GB, free: 45.07 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/1.536, allocations: 427.9 kB / 0.8983 GB, free: 44.65 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01196/1.548, allocations: 9.029 MB / 0.9072 GB, free: 35.65 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01222/1.56, allocations: 12.08 MB / 0.9189 GB, free: 23.45 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003376/1.563, allocations: 3.527 MB / 0.9224 GB, free: 19.89 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00474/1.568, allocations: 4.152 MB / 0.9264 GB, free: 15.77 MB / 0.5607 GB Notification: Performance of Backend: time 2.9e-07/1.568, allocations: 0 / 0.9264 GB, free: 15.77 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.579, allocations: 8.066 MB / 0.9343 GB, free: 7.73 MB / 0.5607 GB Notification: Performance of SimCode: time 0.05085/1.63, allocations: 28.47 MB / 0.9621 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.3567/1.987, allocations: 129.1 MB / 1.088 GB, free: 125 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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: 9.351492328001768]