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.001357/0.001357, allocations: 109 kB / 18.49 MB, free: 4.602 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.001437/0.001437, allocations: 216.7 kB / 21.46 MB, free: 1.648 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.464/1.464, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001877/0.001877, allocations: 67.91 kB / 373.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1074, allocations: 53.37 MB / 427.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005841/0.1133, allocations: 4.13 MB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1964/0.3097, allocations: 0.9517 MB / 432.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.31, allocations: 13.66 kB / 432.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.3102, allocations: 93.8 kB / 432.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3105, allocations: 187.8 kB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3108, allocations: 160.5 kB / 432.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.3114, allocations: 0.6733 MB / 433.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.3116, allocations: 145.9 kB / 433.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.3119, allocations: 271.6 kB / 433.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3122, allocations: 295.3 kB / 434 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.3122, allocations: 55.56 kB / 434 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3123, allocations: 57.47 kB / 434.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.3124, allocations: 136.6 kB / 434.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3126, allocations: 307 kB / 434.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.3132, allocations: 0.6476 MB / 435.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3132, allocations: 0 / 435.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3132, allocations: 0 / 435.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3132, allocations: 1.625 kB / 435.2 MB, free: 7.047 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.001274/0.3145, allocations: 0.8764 MB / 436.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3145, allocations: 9 kB / 436.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.651e-05/0.3146, allocations: 25.61 kB / 436.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.3147, allocations: 112.5 kB / 436.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.315, allocations: 88.75 kB / 436.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.3155, allocations: 397.5 kB / 436.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.3155, allocations: 42.62 kB / 436.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.3156, allocations: 59.75 kB / 436.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.3164, allocations: 0.5224 MB / 437.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3164, allocations: 5.875 kB / 437.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.3164, allocations: 22.28 kB / 437.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3164, allocations: 13.09 kB / 437.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.3171, allocations: 366.3 kB / 437.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.3196, allocations: 1.795 MB / 439.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.32, allocations: 312.5 kB / 439.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.3203, allocations: 176.4 kB / 440 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3203, allocations: 7.094 kB / 440 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3204, allocations: 50.58 kB / 440 MB, free: 4.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.3204, allocations: 0 / 440 MB, free: 4.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.00369/0.324, allocations: 1.914 MB / 441.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3241, allocations: 83.66 kB / 442 MB, free: 3.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.3245, allocations: 390.2 kB / 442.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3245, allocations: 36.73 kB / 442.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3247, allocations: 301 kB / 442.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.3248, allocations: 217.9 kB / 443 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.325, allocations: 108.8 kB / 443.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.3251, allocations: 356.8 kB / 443.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.3254, allocations: 157.5 kB / 443.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3258, allocations: 265.9 kB / 443.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.3264, allocations: 459.1 kB / 444.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3264, allocations: 5.344 kB / 444.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000995/0.3274, allocations: 0.5927 MB / 444.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3274, allocations: 9.969 kB / 444.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3274, allocations: 2.5 kB / 444.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/0.3277, allocations: 82.41 kB / 445 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.3282, allocations: 136.1 kB / 445.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.3305, allocations: 3.106 MB / 448.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3309, allocations: 25.31 kB / 448.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.3309, allocations: 21.17 kB / 448.2 MB, free: 14.4 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.000251/0.3312, allocations: 179.4 kB / 448.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3313, allocations: 53.52 kB / 448.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.3314, allocations: 60.75 kB / 448.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3314, allocations: 14.53 kB / 448.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.3314, allocations: 2.094 kB / 448.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3314, allocations: 3.891 kB / 448.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.3335, allocations: 1.276 MB / 449.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3335, allocations: 0.875 kB / 449.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.334, allocations: 109 kB / 449.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.3342, allocations: 75.69 kB / 450 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.3342, allocations: 12.27 kB / 450 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/0.3369, allocations: 3.094 MB / 453.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3369, allocations: 1.125 kB / 453.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.3384, allocations: 0.8764 MB / 454 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.3386, allocations: 123.2 kB / 454.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.3387, allocations: 10.44 kB / 454.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.3391, allocations: 43.44 kB / 454.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3392, allocations: 43.59 kB / 454.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.3393, allocations: 16.88 kB / 454.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.3396, allocations: 277.3 kB / 454.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3396, allocations: 1.219 kB / 454.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007176/0.3403, allocations: 149.2 kB / 454.6 MB, free: 9.543 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.001788/0.3421, allocations: 1.434 MB / 456.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.3435, allocations: 0.6564 MB / 456.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3435, allocations: 0 / 456.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.3442, allocations: 464.6 kB / 457.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.3448, allocations: 69.02 kB / 457.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.3522, allocations: 4.87 MB / 462.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.3528, allocations: 0.8703 MB / 463 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.3531, allocations: 60.89 kB / 463.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.3533, allocations: 201.7 kB / 463.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3533, allocations: 0 / 463.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.3928, allocations: 10.49 MB / 473.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11, allocations: 8.672 kB / 473.7 MB, free: 15.57 MB / 382.1 MB " [Timeout remaining time 649] (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: 18.971882370999083]