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.001812/0.001812, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002232/0.002232, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.001986/0.001986, allocations: 63.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 53.41 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03043/0.3296, allocations: 24.51 MB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.3446, allocations: 7.019 MB / 462.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005248/0.3498, allocations: 318.4 kB / 463 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03015/0.38, allocations: 12.2 MB / 475.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.3907, allocations: 2.609 MB / 477.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006826/0.3975, allocations: 2.025 MB / 479.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02621/0.4237, allocations: 18.54 MB / 498.4 MB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06142/0.4852, allocations: 28.11 MB / 0.5141 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01819/0.5034, allocations: 10.16 MB / 0.5241 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0199/0.5233, allocations: 10.83 MB / 0.5346 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.4366/0.9598, allocations: 2.919 MB / 0.5375 GB, free: 39.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.9722, allocations: 3.181 MB / 0.5406 GB, free: 39.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009121/0.9813, allocations: 5.49 MB / 0.5459 GB, free: 39.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01845/0.9998, allocations: 8.373 MB / 0.5541 GB, free: 39.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04139/1.041, allocations: 39.27 MB / 0.5925 GB, free: 20.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.041, allocations: 0.8125 kB / 0.5925 GB, free: 20.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/1.041, allocations: 0 / 0.5925 GB, free: 20.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001079/1.042, allocations: 0 / 0.5925 GB, free: 20.11 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.06543/1.108, allocations: 22.24 MB / 0.6142 GB, free: 2.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.108, allocations: 19.98 kB / 0.6142 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01116/1.119, allocations: 2.962 MB / 0.6171 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04759/1.166, allocations: 8.239 MB / 0.6252 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03141/1.198, allocations: 11.89 MB / 0.6368 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001688/1.2, allocations: 1.342 MB / 0.6381 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007186/1.207, allocations: 1.758 MB / 0.6398 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07608/1.283, allocations: 29.03 MB / 0.6681 GB, free: 11.94 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006707/1.284, allocations: 22.62 kB / 0.6682 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004983/1.289, allocations: 0.7317 MB / 0.6689 GB, free: 11.2 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/1.29, allocations: 0.8454 MB / 0.6697 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05929/1.349, allocations: 24.77 MB / 0.6939 GB, free: 1.566 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3715/1.72, allocations: 78.86 MB / 0.7709 GB, free: 138.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/1.739, allocations: 12.79 MB / 0.7834 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007511/1.747, allocations: 5.032 MB / 0.7883 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/1.747, allocations: 140.3 kB / 0.7884 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/1.747, allocations: 98.58 kB / 0.7885 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.588e-06/1.747, allocations: 0 / 0.7885 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03073/1.778, allocations: 14.69 MB / 0.8029 GB, free: 135.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/1.778, allocations: 135.5 kB / 0.803 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008308/1.786, allocations: 6.7 MB / 0.8096 GB, free: 133.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007983/1.787, allocations: 125.3 kB / 0.8097 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003168/1.79, allocations: 7.902 MB / 0.8174 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/1.792, allocations: 2.109 MB / 0.8195 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003286/1.796, allocations: 2.111 MB / 0.8215 GB, free: 123.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/1.796, allocations: 308.6 kB / 0.8218 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006276/1.802, allocations: 4.744 MB / 0.8264 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009611/1.812, allocations: 9.497 MB / 0.8357 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/1.827, allocations: 15.33 MB / 0.8507 GB, free: 91.98 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/1.827, allocations: 44 kB / 0.8507 GB, free: 91.94 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02335/1.851, allocations: 15.41 MB / 0.8658 GB, free: 76.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/1.851, allocations: 76 kB / 0.8658 GB, free: 76.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.851, allocations: 163.9 kB / 0.866 GB, free: 76.21 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004776/1.856, allocations: 1.653 MB / 0.8676 GB, free: 74.55 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007837/1.864, allocations: 2.363 MB / 0.8699 GB, free: 72.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.877, allocations: 11.3 MB / 0.881 GB, free: 60.78 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/1.884, allocations: 1.374 MB / 0.8823 GB, free: 59.39 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.886, allocations: 0.5323 MB / 0.8828 GB, free: 58.86 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.00997/1.896, allocations: 7.149 MB / 0.8898 GB, free: 51.7 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.897, allocations: 0.6442 MB / 0.8904 GB, free: 51.05 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.91, allocations: 10.07 MB / 0.9003 GB, free: 40.87 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009843/1.92, allocations: 7.773 MB / 0.9079 GB, free: 33.01 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/1.92, allocations: 12 kB / 0.9079 GB, free: 33 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.595e-05/1.92, allocations: 27.89 kB / 0.9079 GB, free: 32.97 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04126/1.962, allocations: 24.48 MB / 0.9318 GB, free: 8.363 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.962, allocations: 8 kB / 0.9318 GB, free: 8.355 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/1.965, allocations: 1.022 MB / 0.9328 GB, free: 7.332 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004699/1.97, allocations: 1.461 MB / 0.9342 GB, free: 5.863 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006385/1.971, allocations: 135.9 kB / 0.9344 GB, free: 5.73 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/1.985, allocations: 10.84 MB / 0.945 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/1.985, allocations: 15.94 kB / 0.945 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02424/2.01, allocations: 14.14 MB / 0.9588 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00457/2.014, allocations: 1.451 MB / 0.9602 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/2.015, allocations: 106.1 kB / 0.9603 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003366/2.019, allocations: 319.7 kB / 0.9606 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009/2.02, allocations: 432.1 kB / 0.961 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000389/2.02, allocations: 172 kB / 0.9612 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008813/2.029, allocations: 4.305 MB / 0.9654 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.029, allocations: 0 / 0.9654 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01622/2.045, allocations: 4.091 MB / 0.9694 GB, free: 1.445 MB / 0.5919 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.2439/2.289, allocations: 14.92 MB / 0.9839 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01604/2.305, allocations: 10.96 MB / 0.9946 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/2.305, allocations: 3.969 kB / 0.9946 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006035/2.311, allocations: 4.342 MB / 0.9989 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006969/2.318, allocations: 1.564 MB / 1 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1351/2.453, allocations: 94.76 MB / 1.093 GB, free: 97.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01702/2.47, allocations: 10.94 MB / 1.104 GB, free: 86.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009597/2.48, allocations: 3.766 MB / 1.107 GB, free: 82.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008938/2.489, allocations: 5.947 MB / 1.113 GB, free: 77.02 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/2.489, allocations: 4 kB / 1.113 GB, free: 77.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4829/2.972, allocations: 211.3 MB / 1.32 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/26.15, allocations: 2.75 kB / 1.32 GB, free: 130.3 MB / 0.6075 GB " [Timeout remaining time 634] (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: 29.38138499483466]