Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001741/0.001741, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002071/0.002071, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 53.4 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005607/0.2895, allocations: 3.71 MB / 435.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2913, allocations: 0.9269 MB / 436.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.2915, allocations: 15.94 kB / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2918, allocations: 91.08 kB / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.2922, allocations: 190.4 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.2926, allocations: 163.7 kB / 437 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007488/0.2934, allocations: 0.6655 MB / 437.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.2937, allocations: 147.7 kB / 437.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.294, allocations: 274.9 kB / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.2945, allocations: 290.8 kB / 438.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2946, allocations: 52 kB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.2948, allocations: 60 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2949, allocations: 135.3 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.2953, allocations: 258.8 kB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008718/0.2962, allocations: 0.6573 MB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2962, allocations: 0 / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2962, allocations: 0 / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.2962, allocations: 0 / 439.5 MB, free: 14.82 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.001571/0.2978, allocations: 0.8008 MB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.2978, allocations: 12.03 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.365e-05/0.2979, allocations: 25.47 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.2981, allocations: 115.8 kB / 440.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.2985, allocations: 92.48 kB / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.2992, allocations: 330 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.2993, allocations: 37.69 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.2994, allocations: 60.38 kB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.3009, allocations: 0.6736 MB / 441.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.301, allocations: 7.953 kB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.301, allocations: 20 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.3011, allocations: 15.94 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.3021, allocations: 369 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.306, allocations: 1.604 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008121/0.3068, allocations: 309.1 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.3072, allocations: 179.6 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3073, allocations: 8.312 kB / 444.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.3073, allocations: 50.3 kB / 444.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 3.997e-06/0.3073, allocations: 0 / 444.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.005725/0.3131, allocations: 1.677 MB / 445.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.3131, allocations: 88.98 kB / 446 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.3138, allocations: 397.6 kB / 446.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.3139, allocations: 37.7 kB / 446.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.3142, allocations: 288.9 kB / 446.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.3145, allocations: 222.1 kB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.3147, allocations: 106.3 kB / 447 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.315, allocations: 358.8 kB / 447.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.3155, allocations: 157.2 kB / 447.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.3161, allocations: 265 kB / 447.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.3172, allocations: 457.4 kB / 448.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3172, allocations: 0 / 448.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001771/0.319, allocations: 0.5932 MB / 448.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.319, allocations: 8 kB / 448.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.319, allocations: 4 kB / 448.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/0.3195, allocations: 85.95 kB / 448.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.3202, allocations: 127.8 kB / 449 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/0.324, allocations: 2.893 MB / 451.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.3246, allocations: 28.02 kB / 452 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.3247, allocations: 20 kB / 452 MB, free: 1.723 MB / 350.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.0003883/0.3251, allocations: 177.9 kB / 452.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3252, allocations: 51.72 kB / 452.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.3254, allocations: 60.23 kB / 452.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3254, allocations: 11.94 kB / 452.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.3254, allocations: 0 / 452.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3254, allocations: 3.984 kB / 452.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.3284, allocations: 1.195 MB / 453.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3284, allocations: 0 / 453.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.3291, allocations: 103.9 kB / 453.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.3295, allocations: 77.72 kB / 453.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.3295, allocations: 12 kB / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.3336, allocations: 2.873 MB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3336, allocations: 0 / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.3359, allocations: 0.8793 MB / 457.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3361, allocations: 51.7 kB / 457.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.3362, allocations: 12 kB / 457.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.3368, allocations: 35.97 kB / 457.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3369, allocations: 51.86 kB / 457.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.337, allocations: 20.17 kB / 457.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004888/0.3375, allocations: 271.2 kB / 457.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3375, allocations: 0 / 457.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001133/0.3386, allocations: 144 kB / 458 MB, free: 11.38 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.002569/0.3412, allocations: 1.442 MB / 459.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.343, allocations: 0.6648 MB / 460.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.343, allocations: 0 / 460.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3441, allocations: 457 kB / 460.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.345, allocations: 73.86 kB / 460.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009233/0.3542, allocations: 4.85 MB / 465.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3545, allocations: 277 kB / 465.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.3548, allocations: 64.56 kB / 465.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.3551, allocations: 203.4 kB / 466 MB, free: 3.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3551, allocations: 0 / 466 MB, free: 3.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.4142, allocations: 11.09 MB / 477.1 MB, free: 8.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.39, allocations: 15.8 kB / 477.1 MB, free: 8.168 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.046256950940005]