Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.004972/0.004972, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001365/0.001365, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 55.86 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2308, allocations: 49.15 MB / 397.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003953/0.2347, allocations: 3.621 MB / 400.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2361, allocations: 0.8881 MB / 401.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.2363, allocations: 12.81 kB / 401.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2365, allocations: 96.78 kB / 401.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.2368, allocations: 181.2 kB / 402 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.2371, allocations: 145.8 kB / 402.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.2376, allocations: 0.679 MB / 402.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.2379, allocations: 152.1 kB / 402.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.2382, allocations: 267.6 kB / 403.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.2384, allocations: 286.5 kB / 403.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.2385, allocations: 55.5 kB / 403.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.2386, allocations: 54.88 kB / 403.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2387, allocations: 129.8 kB / 403.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.239, allocations: 260 kB / 404 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.2397, allocations: 0.6454 MB / 404.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2397, allocations: 5.125 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2397, allocations: 0.8438 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.2398, allocations: 0 / 404.6 MB, free: 4.348 MB / 318.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.001553/0.2413, allocations: 0.8021 MB / 405.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2414, allocations: 14.52 kB / 405.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.545e-05/0.2414, allocations: 17 kB / 405.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.2415, allocations: 117.9 kB / 405.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.2417, allocations: 71.23 kB / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.2422, allocations: 321.5 kB / 405.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.2422, allocations: 45.16 kB / 406 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.2423, allocations: 65.19 kB / 406 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.2431, allocations: 0.6708 MB / 406.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2431, allocations: 5.375 kB / 406.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.2432, allocations: 22.16 kB / 406.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2432, allocations: 12.5 kB / 406.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.2438, allocations: 366.5 kB / 407.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.2462, allocations: 1.589 MB / 408.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.2466, allocations: 319.3 kB / 409 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.2469, allocations: 174.5 kB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2469, allocations: 6.469 kB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2469, allocations: 41.56 kB / 409.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.194e-06/0.2469, allocations: 1.219 kB / 409.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.003621/0.2506, allocations: 1.676 MB / 410.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2506, allocations: 87.48 kB / 411 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.251, allocations: 392.1 kB / 411.4 MB, free: 368 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.251, allocations: 35.73 kB / 411.4 MB, free: 328 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2511, allocations: 297.7 kB / 411.7 MB, free: 80 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.2513, allocations: 216.7 kB / 411.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2514, allocations: 104.2 kB / 412 MB, free: 15.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2516, allocations: 357.3 kB / 412.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.2519, allocations: 159.7 kB / 412.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.2523, allocations: 270.5 kB / 412.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.2531, allocations: 462.1 kB / 413.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2531, allocations: 1.062 kB / 413.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001108/0.2542, allocations: 0.5947 MB / 413.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2542, allocations: 6.625 kB / 413.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2542, allocations: 3.5 kB / 413.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.2545, allocations: 84.91 kB / 413.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.255, allocations: 134.1 kB / 414.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.2576, allocations: 2.897 MB / 417 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.258, allocations: 22.73 kB / 417 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.258, allocations: 19.66 kB / 417 MB, free: 11.71 MB / 334.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.0002729/0.2583, allocations: 177.8 kB / 417.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2584, allocations: 53.94 kB / 417.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2585, allocations: 62.19 kB / 417.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2585, allocations: 10.41 kB / 417.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.2585, allocations: 0.9375 kB / 417.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2585, allocations: 5.078 kB / 417.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.2606, allocations: 1.189 MB / 418.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2606, allocations: 1.281 kB / 418.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.261, allocations: 101.7 kB / 418.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.2613, allocations: 79.25 kB / 418.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.2613, allocations: 11.53 kB / 418.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.2638, allocations: 2.864 MB / 421.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2638, allocations: 1.344 kB / 421.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.2652, allocations: 0.8719 MB / 422.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2654, allocations: 52.98 kB / 422.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.2655, allocations: 16 kB / 422.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.2659, allocations: 38.19 kB / 422.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.266, allocations: 45.95 kB / 422.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.266, allocations: 15.97 kB / 422.6 MB, free: 7.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.2663, allocations: 277.1 kB / 422.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2663, allocations: 5.156 kB / 422.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006743/0.267, allocations: 141.5 kB / 423 MB, free: 6.855 MB / 334.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.001706/0.2687, allocations: 1.441 MB / 424.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2699, allocations: 0.6522 MB / 425.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2699, allocations: 0.9375 kB / 425.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.2706, allocations: 466.4 kB / 425.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.2712, allocations: 80.55 kB / 425.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.2781, allocations: 4.817 MB / 430.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2783, allocations: 269 kB / 430.7 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000233/0.2786, allocations: 60.58 kB / 430.8 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.2788, allocations: 203.4 kB / 431 MB, free: 12 kB / 334.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2788, allocations: 0 / 431 MB, free: 12 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.3207, allocations: 11.05 MB / 442 MB, free: 4.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.19, allocations: 8.016 kB / 442 MB, free: 4.887 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.35739056498278]