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.0007866/0.0007866, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008075/0.0008075, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8569/0.8569, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.007e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01685/0.01687, allocations: 24.53 MB / 349.1 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.02869, allocations: 7.039 MB / 356.2 MB, free: 220 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.0325, allocations: 314.4 kB / 356.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01251/0.04501, allocations: 12.93 MB / 369.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.05095, allocations: 2.681 MB / 372.1 MB, free: 260 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.05408, allocations: 2.03 MB / 374.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.0689, allocations: 19.11 MB / 393.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03078/0.09968, allocations: 28.17 MB / 421.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.1142, allocations: 15.1 MB / 436.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.1251, allocations: 9.758 MB / 446.2 MB, free: 5.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005/0.1301, allocations: 2.918 MB / 449.2 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2705/0.4006, allocations: 3.197 MB / 452.4 MB, free: 52.41 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007352/0.408, allocations: 5.583 MB / 457.9 MB, free: 52.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01358/0.4216, allocations: 7.234 MB / 465.2 MB, free: 52.41 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02833/0.4499, allocations: 39.53 MB / 0.4929 GB, free: 34.62 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.4499, allocations: 0 / 0.4929 GB, free: 34.62 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4499, allocations: 0.6875 kB / 0.4929 GB, free: 34.62 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001153/0.4511, allocations: 0 / 0.4929 GB, free: 34.62 MB / 410.8 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.04636/0.4974, allocations: 22.07 MB / 0.5144 GB, free: 20.23 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4975, allocations: 11.78 kB / 0.5144 GB, free: 20.22 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007973/0.5054, allocations: 2.97 MB / 0.5173 GB, free: 17.25 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0233/0.5287, allocations: 8.241 MB / 0.5254 GB, free: 9.078 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01713/0.5459, allocations: 11.88 MB / 0.537 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009938/0.5469, allocations: 1.339 MB / 0.5383 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005997/0.5529, allocations: 1.754 MB / 0.54 GB, free: 10.62 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05831/0.6112, allocations: 29.03 MB / 0.5684 GB, free: 13.48 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004762/0.6117, allocations: 19.89 kB / 0.5684 GB, free: 13.46 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004961/0.6166, allocations: 0.7271 MB / 0.5691 GB, free: 12.75 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005672/0.6172, allocations: 0.8454 MB / 0.5699 GB, free: 11.9 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0442/0.6614, allocations: 24.77 MB / 0.5941 GB, free: 3.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2686/0.93, allocations: 78.91 MB / 0.6712 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.9423, allocations: 12.78 MB / 0.6836 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005472/0.9478, allocations: 5.039 MB / 0.6886 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.9481, allocations: 144.5 kB / 0.6887 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.9482, allocations: 88.83 kB / 0.6888 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 6.993e-06/0.9482, allocations: 3.938 kB / 0.6888 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.01926/0.9675, allocations: 14.7 MB / 0.7031 GB, free: 111.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.9675, allocations: 141.6 kB / 0.7033 GB, free: 111 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006897/0.9744, allocations: 6.703 MB / 0.7098 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000759/0.9752, allocations: 117.7 kB / 0.7099 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.9775, allocations: 7.866 MB / 0.7176 GB, free: 96.36 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.979, allocations: 2.083 MB / 0.7197 GB, free: 94.31 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/0.981, allocations: 2.088 MB / 0.7217 GB, free: 92.21 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.629e-05/0.981, allocations: 305.1 kB / 0.722 GB, free: 91.91 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/0.9853, allocations: 4.748 MB / 0.7266 GB, free: 87.16 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005489/0.9908, allocations: 9.505 MB / 0.7359 GB, free: 75.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.002, allocations: 15.33 MB / 0.7509 GB, free: 57.76 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.002, allocations: 49.09 kB / 0.7509 GB, free: 57.71 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01746/1.02, allocations: 15.41 MB / 0.766 GB, free: 42.22 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/1.02, allocations: 72 kB / 0.766 GB, free: 42.15 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.02, allocations: 160 kB / 0.7662 GB, free: 41.99 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/1.023, allocations: 1.657 MB / 0.7678 GB, free: 40.33 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004692/1.028, allocations: 2.367 MB / 0.7701 GB, free: 37.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009145/1.037, allocations: 11.3 MB / 0.7811 GB, free: 26.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/1.043, allocations: 1.37 MB / 0.7825 GB, free: 25.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/1.044, allocations: 0.539 MB / 0.783 GB, free: 24.64 MB / 0.4949 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.009147/1.053, allocations: 7.141 MB / 0.79 GB, free: 17.48 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009025/1.054, allocations: 0.6404 MB / 0.7906 GB, free: 16.84 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009191/1.063, allocations: 10.08 MB / 0.8005 GB, free: 6.645 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006688/1.07, allocations: 7.765 MB / 0.808 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.07, allocations: 16 kB / 0.8081 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/1.07, allocations: 27.89 kB / 0.8081 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2199/1.29, allocations: 24.48 MB / 0.832 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.29, allocations: 11.62 kB / 0.832 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/1.292, allocations: 1.016 MB / 0.833 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/1.295, allocations: 1.461 MB / 0.8344 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/1.295, allocations: 136.8 kB / 0.8345 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/1.304, allocations: 10.84 MB / 0.8451 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.304, allocations: 11.5 kB / 0.8451 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.316, allocations: 14.13 MB / 0.8589 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/1.319, allocations: 1.442 MB / 0.8603 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005575/1.319, allocations: 111.9 kB / 0.8605 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.321, allocations: 318.1 kB / 0.8608 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005362/1.321, allocations: 429.9 kB / 0.8612 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.322, allocations: 174.9 kB / 0.8613 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004847/1.326, allocations: 4.304 MB / 0.8655 GB, free: 146 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.326, allocations: 0 / 0.8655 GB, free: 146 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008954/1.335, allocations: 4.096 MB / 0.8695 GB, free: 141.9 MB / 0.5105 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.01331/1.349, allocations: 14.9 MB / 0.8841 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.36, allocations: 10.96 MB / 0.8948 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.36, allocations: 0 / 0.8948 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004045/1.364, allocations: 4.353 MB / 0.899 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/1.369, allocations: 1.554 MB / 0.9006 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/1.48, allocations: 94.69 MB / 0.993 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/1.492, allocations: 10.94 MB / 1.004 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006903/1.499, allocations: 3.769 MB / 1.007 GB, free: 13.62 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008849/1.507, allocations: 5.948 MB / 1.013 GB, free: 7.664 MB / 0.5262 GB Notification: Performance of SimCode: time 1.553e-06/1.507, allocations: 0 / 1.013 GB, free: 7.664 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4983/2.006, allocations: 210.9 MB / 1.219 GB, free: 117.2 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.9, allocations: 0 / 1.219 GB, free: 117.2 MB / 0.5262 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 17.898156447336078]