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.001309/0.001309, allocations: 114 kB / 20.44 MB, free: 1.469 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.001557/0.001557, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 68.11 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3028, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005648/0.3084, allocations: 4.14 MB / 435.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3104, allocations: 0.9736 MB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.3107, allocations: 8 kB / 436.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3109, allocations: 95.08 kB / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.3112, allocations: 186.4 kB / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3116, allocations: 163.7 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.3123, allocations: 0.6771 MB / 437.5 MB, free: 428 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.3126, allocations: 143.7 kB / 437.6 MB, free: 276 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.313, allocations: 271 kB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.3134, allocations: 294.6 kB / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.3134, allocations: 59.94 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3136, allocations: 56 kB / 438.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3137, allocations: 127.5 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.314, allocations: 310.5 kB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.3147, allocations: 0.6538 MB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3147, allocations: 0 / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3147, allocations: 0 / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3147, allocations: 0 / 439.3 MB, free: 14.52 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.001484/0.3162, allocations: 0.8008 MB / 440.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3163, allocations: 12.03 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.3164, allocations: 99.95 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.3167, allocations: 96.44 kB / 440.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.3173, allocations: 326 kB / 440.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.3173, allocations: 37.69 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.3174, allocations: 56.38 kB / 440.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.3182, allocations: 0.4917 MB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3182, allocations: 0 / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.3183, allocations: 24 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3183, allocations: 15.98 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.3189, allocations: 344.3 kB / 441.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.3216, allocations: 1.662 MB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.3221, allocations: 259.6 kB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.3223, allocations: 125.7 kB / 443.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3224, allocations: 4 kB / 443.7 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3224, allocations: 46.48 kB / 443.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.3224, allocations: 4 kB / 443.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001908/0.3243, allocations: 0.8272 MB / 444.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3244, allocations: 81.11 kB / 444.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.3248, allocations: 389.6 kB / 445 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3248, allocations: 29.7 kB / 445 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.3251, allocations: 308 kB / 445.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.3252, allocations: 119 kB / 445.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3253, allocations: 70.14 kB / 445.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3254, allocations: 354.8 kB / 445.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3257, allocations: 100.8 kB / 446 MB, free: 7.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.3259, allocations: 190.6 kB / 446.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.3264, allocations: 312.4 kB / 446.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3264, allocations: 4 kB / 446.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008209/0.3272, allocations: 442.7 kB / 446.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3273, allocations: 15.92 kB / 446.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3273, allocations: 4 kB / 446.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.3276, allocations: 85.81 kB / 447 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3279, allocations: 75.84 kB / 447.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.3307, allocations: 2.92 MB / 450 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.3311, allocations: 27.95 kB / 450 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3311, allocations: 16 kB / 450 MB, free: 3.23 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 (45): * Single equations (assignments): 43 * 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.0003059/0.3314, allocations: 165.7 kB / 450.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3315, allocations: 47.69 kB / 450.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.519e-05/0.3316, allocations: 47.59 kB / 450.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3316, allocations: 4 kB / 450.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.3316, allocations: 4 kB / 450.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3316, allocations: 3.984 kB / 450.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.3333, allocations: 0.916 MB / 451.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3333, allocations: 0 / 451.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.3335, allocations: 51.91 kB / 451.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.3338, allocations: 81.59 kB / 451.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3338, allocations: 12 kB / 451.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.3365, allocations: 2.928 MB / 454.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3365, allocations: 0 / 454.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3375, allocations: 0.6029 MB / 454.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3376, allocations: 55.83 kB / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.3377, allocations: 11.98 kB / 455 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.338, allocations: 23.98 kB / 455 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3381, allocations: 23.95 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3381, allocations: 12 kB / 455 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.3384, allocations: 279.2 kB / 455.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3384, allocations: 0 / 455.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.339, allocations: 116 kB / 455.4 MB, free: 13.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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.001283/0.3403, allocations: 1.169 MB / 456.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009352/0.3412, allocations: 0.5069 MB / 457.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3412, allocations: 0 / 457.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.3418, allocations: 373.2 kB / 457.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.3423, allocations: 57.73 kB / 457.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.348, allocations: 4.228 MB / 461.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.3485, allocations: 0.8431 MB / 462.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.3486, allocations: 47.28 kB / 462.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.3488, allocations: 171.5 kB / 462.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3488, allocations: 3.938 kB / 462.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.395, allocations: 9.372 MB / 472.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.93, allocations: 7.984 kB / 472.2 MB, free: 12.65 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable basicTransformer.i1 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.09176600199862]