Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001296/0.001296, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001344/0.001344, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.444/1.444, allocations: 230.6 MB / 254.8 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 51.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 53.33 MB / 427.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005641/0.1124, allocations: 4.128 MB / 431.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2036/0.316, allocations: 0.9511 MB / 432.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.3164, allocations: 15.56 kB / 432.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3166, allocations: 93.48 kB / 432.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.317, allocations: 186 kB / 432.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.3173, allocations: 163.2 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000626/0.318, allocations: 0.6725 MB / 433.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.3182, allocations: 150.4 kB / 433.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.3186, allocations: 275.8 kB / 433.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3189, allocations: 288.4 kB / 434 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.3189, allocations: 53.75 kB / 434 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.319, allocations: 57.56 kB / 434.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.3191, allocations: 135.9 kB / 434.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.3193, allocations: 307.9 kB / 434.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.3199, allocations: 0.6457 MB / 435.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3199, allocations: 0 / 435.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3199, allocations: 1.062 kB / 435.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.3199, allocations: 1.062 kB / 435.1 MB, free: 7.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001267/0.3212, allocations: 0.882 MB / 436 MB, free: 6.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3212, allocations: 9.031 kB / 436 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.949e-05/0.3213, allocations: 23.28 kB / 436.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.3214, allocations: 115.2 kB / 436.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.3217, allocations: 94.61 kB / 436.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.3221, allocations: 399.5 kB / 436.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.3222, allocations: 40.66 kB / 436.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.3223, allocations: 63.19 kB / 436.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.3231, allocations: 0.5146 MB / 437.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.3231, allocations: 8.719 kB / 437.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.3232, allocations: 20.84 kB / 437.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3232, allocations: 14.22 kB / 437.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.3238, allocations: 369.4 kB / 437.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.3263, allocations: 1.786 MB / 439.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.3268, allocations: 314.4 kB / 439.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.3271, allocations: 174.1 kB / 439.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3271, allocations: 5.797 kB / 439.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3271, allocations: 45.58 kB / 440 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.713e-06/0.3272, allocations: 0 / 440 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.003753/0.3309, allocations: 1.918 MB / 441.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.3309, allocations: 84.14 kB / 442 MB, free: 3.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.3314, allocations: 389.5 kB / 442.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.3314, allocations: 36.92 kB / 442.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3315, allocations: 303.5 kB / 442.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.3317, allocations: 218.4 kB / 442.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3318, allocations: 108.8 kB / 443 MB, free: 2.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.3319, allocations: 357.1 kB / 443.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.3322, allocations: 157.3 kB / 443.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.3325, allocations: 268.4 kB / 443.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.3332, allocations: 454.4 kB / 444.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3332, allocations: 1.625 kB / 444.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001078/0.3343, allocations: 0.5948 MB / 444.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3343, allocations: 10.59 kB / 444.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3343, allocations: 3.312 kB / 444.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.3347, allocations: 86.19 kB / 444.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.3352, allocations: 131.9 kB / 445 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.3377, allocations: 3.106 MB / 448.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.3381, allocations: 21.05 kB / 448.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.3382, allocations: 28.44 kB / 448.2 MB, free: 14.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003129/0.3385, allocations: 180.6 kB / 448.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3386, allocations: 53.97 kB / 448.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.3387, allocations: 55.41 kB / 448.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3387, allocations: 10.88 kB / 448.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.3388, allocations: 1.094 kB / 448.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3388, allocations: 3.875 kB / 448.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.341, allocations: 1.28 MB / 449.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.341, allocations: 0.9375 kB / 449.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.3414, allocations: 101.1 kB / 449.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.3417, allocations: 78.86 kB / 450 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3418, allocations: 16.89 kB / 450 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.3447, allocations: 3.08 MB / 453.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3447, allocations: 0 / 453.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3463, allocations: 0.8766 MB / 453.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.3465, allocations: 121.2 kB / 454 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.3466, allocations: 14.77 kB / 454.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.347, allocations: 36.33 kB / 454.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3471, allocations: 50.61 kB / 454.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.3471, allocations: 16.34 kB / 454.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.3475, allocations: 278.2 kB / 454.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 3.938 kB / 454.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007657/0.3483, allocations: 146.4 kB / 454.6 MB, free: 9.664 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 ($outputAlias_i2I,$outputAlias_i1B,$outputAlias_i2B) * 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 (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00193/0.3502, allocations: 1.437 MB / 456 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.3515, allocations: 0.6642 MB / 456.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3515, allocations: 2.375 kB / 456.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007502/0.3523, allocations: 453.9 kB / 457.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.3529, allocations: 73.88 kB / 457.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/0.3609, allocations: 4.863 MB / 462.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.3615, allocations: 0.8741 MB / 462.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.3618, allocations: 58.36 kB / 463 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.3622, allocations: 200.2 kB / 463.2 MB, free: 4.172 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3622, allocations: 1.031 kB / 463.2 MB, free: 4.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.3988, allocations: 10.5 MB / 473.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.89, allocations: 13.39 kB / 473.7 MB, free: 15.72 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.732743949978612]