Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001598/0.001598, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001961/0.001961, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2641, allocations: 53.42 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03268/0.2968, allocations: 28.75 MB / 460 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.3128, allocations: 7.229 MB / 467.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005675/0.3185, allocations: 314.4 kB / 467.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02963/0.3481, allocations: 13.25 MB / 480.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.3593, allocations: 2.648 MB / 483.4 MB, free: 2.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006996/0.3663, allocations: 2.095 MB / 485.5 MB, free: 240 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02609/0.3924, allocations: 18.54 MB / 0.4922 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06397/0.4564, allocations: 28.4 MB / 0.5199 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01848/0.4749, allocations: 10.15 MB / 0.5299 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4215/0.8963, allocations: 11.14 MB / 0.5407 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007732/0.9041, allocations: 2.922 MB / 0.5436 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.9149, allocations: 3.2 MB / 0.5467 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009185/0.9241, allocations: 5.484 MB / 0.5521 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01732/0.9414, allocations: 10.83 MB / 0.5626 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.974, allocations: 39.1 MB / 0.6008 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.974, allocations: 0 / 0.6008 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.974, allocations: 2 kB / 0.6008 GB, free: 5.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001104/0.9751, allocations: 6.125 kB / 0.6008 GB, free: 5.414 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.06604/1.041, allocations: 22.24 MB / 0.6225 GB, free: 1.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.041, allocations: 8.031 kB / 0.6226 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01057/1.052, allocations: 2.965 MB / 0.6254 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04657/1.098, allocations: 8.243 MB / 0.6335 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02909/1.127, allocations: 11.89 MB / 0.6451 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001697/1.129, allocations: 1.339 MB / 0.6464 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007205/1.136, allocations: 1.759 MB / 0.6481 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07364/1.21, allocations: 28.77 MB / 0.6762 GB, free: 11.39 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000806/1.211, allocations: 19.89 kB / 0.6763 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006475/1.217, allocations: 0.728 MB / 0.677 GB, free: 10.65 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/1.218, allocations: 0.8493 MB / 0.6778 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05763/1.276, allocations: 24.84 MB / 0.702 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4103/1.686, allocations: 86 MB / 0.786 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02177/1.708, allocations: 12.87 MB / 0.7986 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007476/1.715, allocations: 5.039 MB / 0.8035 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/1.716, allocations: 169.5 kB / 0.8037 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.521e-05/1.716, allocations: 100.9 kB / 0.8038 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 1.05e-05/1.716, allocations: 0 / 0.8038 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03171/1.748, allocations: 14.7 MB / 0.8181 GB, free: 107 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/1.748, allocations: 136.9 kB / 0.8183 GB, free: 106.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.759, allocations: 6.423 MB / 0.8245 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009909/1.76, allocations: 119.4 kB / 0.8247 GB, free: 105 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003977/1.764, allocations: 7.896 MB / 0.8324 GB, free: 98.16 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002382/1.766, allocations: 2.109 MB / 0.8344 GB, free: 96.35 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005576/1.772, allocations: 2.121 MB / 0.8365 GB, free: 95.14 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/1.772, allocations: 305.1 kB / 0.8368 GB, free: 94.84 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006719/1.778, allocations: 4.743 MB / 0.8414 GB, free: 92.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008719/1.787, allocations: 9.468 MB / 0.8507 GB, free: 83.38 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/1.802, allocations: 15.34 MB / 0.8656 GB, free: 68.35 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.802, allocations: 46.62 kB / 0.8657 GB, free: 68.31 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02283/1.825, allocations: 15.41 MB / 0.8807 GB, free: 53.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/1.825, allocations: 74.34 kB / 0.8808 GB, free: 53.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/1.826, allocations: 164 kB / 0.881 GB, free: 53.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004983/1.831, allocations: 1.657 MB / 0.8826 GB, free: 51.91 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007403/1.838, allocations: 2.364 MB / 0.8849 GB, free: 49.73 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/1.851, allocations: 11.51 MB / 0.8961 GB, free: 38.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008067/1.859, allocations: 1.374 MB / 0.8975 GB, free: 36.82 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/1.861, allocations: 0.539 MB / 0.898 GB, free: 36.28 MB / 0.5763 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.01214/1.873, allocations: 7.143 MB / 0.905 GB, free: 29.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/1.875, allocations: 0.6442 MB / 0.9056 GB, free: 28.65 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/1.891, allocations: 10.07 MB / 0.9154 GB, free: 18.51 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01004/1.901, allocations: 7.77 MB / 0.923 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/1.901, allocations: 12 kB / 0.923 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/1.901, allocations: 27.89 kB / 0.9231 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05277/1.954, allocations: 25.37 MB / 0.9478 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/1.954, allocations: 8 kB / 0.9478 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004555/1.958, allocations: 1.022 MB / 0.9488 GB, free: 360 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/1.964, allocations: 1.461 MB / 0.9503 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008966/1.965, allocations: 136 kB / 0.9504 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01735/1.982, allocations: 11.06 MB / 0.9612 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.982, allocations: 11.75 kB / 0.9612 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02572/2.008, allocations: 14.15 MB / 0.975 GB, free: 5.16 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00431/2.012, allocations: 1.443 MB / 0.9764 GB, free: 3.711 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/2.014, allocations: 112 kB / 0.9765 GB, free: 3.602 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004008/2.018, allocations: 316 kB / 0.9768 GB, free: 3.293 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/2.019, allocations: 431.6 kB / 0.9773 GB, free: 2.875 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007482/2.02, allocations: 180 kB / 0.9774 GB, free: 2.699 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.255/2.275, allocations: 4.299 MB / 0.9816 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of sort global known variables: time 7.12e-07/2.275, allocations: 0 / 0.9816 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01374/2.289, allocations: 4.085 MB / 0.9856 GB, free: 217.2 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.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 (528): * Single equations (assignments): 525 * 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 Backend phase and start with SimCode phase: time 0.01878/2.308, allocations: 14.93 MB / 1 GB, free: 212.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01629/2.324, allocations: 10.95 MB / 1.011 GB, free: 208.7 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/2.324, allocations: 3.969 kB / 1.011 GB, free: 208.7 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.006595/2.33, allocations: 4.343 MB / 1.015 GB, free: 207 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/2.338, allocations: 1.564 MB / 1.017 GB, free: 206.5 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1562/2.494, allocations: 94.76 MB / 1.109 GB, free: 123.2 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.018/2.512, allocations: 11.26 MB / 1.12 GB, free: 111.9 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.009556/2.522, allocations: 3.774 MB / 1.124 GB, free: 108.1 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009128/2.531, allocations: 5.947 MB / 1.13 GB, free: 102.1 MB / 0.6232 GB Notification: Performance of SimCode: time 1.333e-06/2.531, allocations: 0 / 1.13 GB, free: 102.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4895/3.02, allocations: 212.7 MB / 1.337 GB, free: 151.6 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.49/30.51, allocations: 3.938 kB / 1.337 GB, free: 151.6 MB / 0.6232 GB " [Timeout remaining time 629] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 33.63252783194184]