Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 115.8 kB / 19.18 MB, free: 3.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 208.9 kB / 22.13 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 374.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.1016, allocations: 53.32 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.1983/0.2999, allocations: 10.05 MB / 437.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006637/0.3065, allocations: 3.41 MB / 441.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.3085, allocations: 70.09 kB / 441.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00857/0.3171, allocations: 3.859 MB / 445.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005123/0.3222, allocations: 1.498 MB / 446.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.325, allocations: 1.06 MB / 447.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.3374, allocations: 9.264 MB / 457.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0255/0.3629, allocations: 15.81 MB / 472.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009553/0.3724, allocations: 5.074 MB / 477.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.3834, allocations: 6.142 MB / 484.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003981/0.3873, allocations: 1.398 MB / 485.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006468/0.3938, allocations: 1.66 MB / 487.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.3991, allocations: 2.927 MB / 490.1 MB, free: 2.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01058/0.4097, allocations: 5.455 MB / 495.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02517/0.4348, allocations: 18.91 MB / 0.5024 GB, free: 10.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4348, allocations: 0 / 0.5024 GB, free: 10.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4348, allocations: 0 / 0.5024 GB, free: 10.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004707/0.4353, allocations: 0 / 0.5024 GB, free: 10.17 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03913/0.4744, allocations: 12.46 MB / 0.5145 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4745, allocations: 8.031 kB / 0.5145 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05174/0.5262, allocations: 8.425 MB / 0.5228 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.5402, allocations: 5.915 MB / 0.5285 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007535/0.5409, allocations: 0.6584 MB / 0.5292 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003773/0.5447, allocations: 0.8671 MB / 0.53 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03965/0.5844, allocations: 16.03 MB / 0.5457 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002959/0.5846, allocations: 7.953 kB / 0.5457 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002162/0.5868, allocations: 369.7 kB / 0.546 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006026/0.5874, allocations: 0.5582 MB / 0.5466 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03216/0.6196, allocations: 15.77 MB / 0.562 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09244/0.712, allocations: 48.68 MB / 0.6095 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4224/1.134, allocations: 18.87 MB / 0.628 GB, free: 141 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005525/1.14, allocations: 3.247 MB / 0.6311 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/1.14, allocations: 299.4 kB / 0.6314 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/1.141, allocations: 87.78 kB / 0.6315 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=468): time 6.933e-06/1.141, allocations: 4.594 kB / 0.6315 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=468): time 0.02558/1.166, allocations: 11.56 MB / 0.6428 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/1.166, allocations: 126.4 kB / 0.6429 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00623/1.172, allocations: 3.853 MB / 0.6467 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009039/1.173, allocations: 98.64 kB / 0.6468 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/1.175, allocations: 4.044 MB / 0.6507 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001803/1.177, allocations: 1.687 MB / 0.6524 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002273/1.179, allocations: 1.493 MB / 0.6538 GB, free: 131 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/1.18, allocations: 306.2 kB / 0.6541 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005075/1.185, allocations: 3.698 MB / 0.6577 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006803/1.191, allocations: 6.528 MB / 0.6641 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.203, allocations: 10.85 MB / 0.6747 GB, free: 117.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.475e-05/1.203, allocations: 27.28 kB / 0.6747 GB, free: 117.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02105/1.224, allocations: 11.96 MB / 0.6864 GB, free: 111.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/1.224, allocations: 46.02 kB / 0.6864 GB, free: 111.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/1.224, allocations: 92 kB / 0.6865 GB, free: 111.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00477/1.229, allocations: 1.621 MB / 0.6881 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006032/1.235, allocations: 1.681 MB / 0.6898 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/1.251, allocations: 17.67 MB / 0.707 GB, free: 89.58 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.256, allocations: 0.9625 MB / 0.708 GB, free: 88.61 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.258, allocations: 371.9 kB / 0.7083 GB, free: 88.25 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006985/1.265, allocations: 3.75 MB / 0.712 GB, free: 84.48 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009177/1.266, allocations: 413.3 kB / 0.7124 GB, free: 84.08 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.279, allocations: 8.526 MB / 0.7207 GB, free: 75.46 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/1.279, allocations: 48 kB / 0.7207 GB, free: 75.42 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/1.279, allocations: 15.88 kB / 0.7208 GB, free: 75.41 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.082e-05/1.279, allocations: 27.84 kB / 0.7208 GB, free: 75.38 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/1.311, allocations: 16.8 MB / 0.7372 GB, free: 58.55 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/1.311, allocations: 4 kB / 0.7372 GB, free: 58.54 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003752/1.314, allocations: 0.8659 MB / 0.738 GB, free: 57.68 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/1.319, allocations: 1.516 MB / 0.7395 GB, free: 56.14 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008899/1.32, allocations: 112 kB / 0.7396 GB, free: 56.03 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/1.336, allocations: 17.47 MB / 0.7567 GB, free: 37.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.336, allocations: 0 / 0.7567 GB, free: 37.75 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.355, allocations: 12.25 MB / 0.7686 GB, free: 25.28 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003045/1.358, allocations: 1.124 MB / 0.7697 GB, free: 24.14 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/1.359, allocations: 84 kB / 0.7698 GB, free: 24.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.362, allocations: 303.7 kB / 0.7701 GB, free: 23.76 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009387/1.363, allocations: 319.6 kB / 0.7704 GB, free: 23.45 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/1.363, allocations: 148 kB / 0.7706 GB, free: 23.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003897/1.367, allocations: 2.578 MB / 0.7731 GB, free: 20.73 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.367, allocations: 0 / 0.7731 GB, free: 20.73 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008455/1.376, allocations: 2.403 MB / 0.7754 GB, free: 18.32 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/1.377, allocations: 266.8 kB / 0.7757 GB, free: 18.05 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01403/1.391, allocations: 9.019 MB / 0.7845 GB, free: 8.926 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.391, allocations: 0 / 0.7845 GB, free: 8.926 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007429/1.398, allocations: 4.19 MB / 0.7886 GB, free: 4.66 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/1.404, allocations: 0.7412 MB / 0.7893 GB, free: 3.934 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/1.443, allocations: 16.88 MB / 0.8058 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/1.455, allocations: 5.931 MB / 0.8116 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002682/1.457, allocations: 475.3 kB / 0.812 GB, free: 12.54 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.457, allocations: 0 / 0.812 GB, free: 12.54 MB / 0.545 GB Notification: Performance of Templates: time 0.8398/2.297, allocations: 420.1 MB / 1.222 GB, free: 39.4 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 17.831564574036747]