Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001537/0.001537, allocations: 110 kB / 20.43 MB, free: 1.453 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.001827/0.001827, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.09 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.254, allocations: 53.4 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007534/0.2615, allocations: 5.673 MB / 436.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.2652, allocations: 1.9 MB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.2659, allocations: 16 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.2697, allocations: 1.625 MB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.2713, allocations: 0.5979 MB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/0.2723, allocations: 418.8 kB / 441.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.2736, allocations: 0.7978 MB / 442.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.275, allocations: 0.7663 MB / 443 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.2757, allocations: 362.7 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008111/0.2765, allocations: 494.2 kB / 443.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.2767, allocations: 80 kB / 443.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.2774, allocations: 243.7 kB / 444.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2776, allocations: 187.4 kB / 444.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.2781, allocations: 421.9 kB / 444.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.2796, allocations: 1.18 MB / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2796, allocations: 0 / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2796, allocations: 0 / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.2797, allocations: 3.938 kB / 445.9 MB, free: 8.031 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003618/0.2833, allocations: 1.304 MB / 447.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2833, allocations: 8.031 kB / 447.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.2836, allocations: 156.3 kB / 447.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.2879, allocations: 0.6131 MB / 448 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.2887, allocations: 368.1 kB / 448.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.2888, allocations: 74.38 kB / 448.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.289, allocations: 88.38 kB / 448.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.2909, allocations: 1.002 MB / 449.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.2909, allocations: 4 kB / 449.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.291, allocations: 36 kB / 449.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.291, allocations: 24 kB / 449.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.2928, allocations: 0.933 MB / 450.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.2978, allocations: 3.154 MB / 453.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.2996, allocations: 0.7647 MB / 454.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.3001, allocations: 256 kB / 454.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.3002, allocations: 36.61 kB / 454.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3002, allocations: 47.14 kB / 454.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/0.3002, allocations: 0 / 454.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001452/0.3017, allocations: 0.7282 MB / 455.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.3018, allocations: 115.5 kB / 455.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3021, allocations: 269.8 kB / 455.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.3021, allocations: 37.7 kB / 455.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.3024, allocations: 387.9 kB / 456.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3026, allocations: 234 kB / 456.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3028, allocations: 138.6 kB / 456.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3029, allocations: 350.7 kB / 457 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.3034, allocations: 225.9 kB / 457.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.304, allocations: 443.4 kB / 457.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3051, allocations: 0.693 MB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.3051, allocations: 4 kB / 458.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001318/0.3064, allocations: 0.7589 MB / 459.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3064, allocations: 8.062 kB / 459.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3064, allocations: 12 kB / 459.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3064, allocations: 12 kB / 459.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.3071, allocations: 195.7 kB / 459.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.3072, allocations: 15.94 kB / 459.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.3076, allocations: 83.39 kB / 459.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.3076, allocations: 32 kB / 459.4 MB, free: 9.984 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.3079, allocations: 225.6 kB / 459.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.308, allocations: 43.7 kB / 459.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3093, allocations: 0.6462 MB / 460.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3093, allocations: 11.94 kB / 460.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3093, allocations: 0 / 460.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3093, allocations: 7.984 kB / 460.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.3117, allocations: 1.455 MB / 461.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3117, allocations: 0 / 461.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.3123, allocations: 139.8 kB / 461.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3123, allocations: 0 / 461.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.3123, allocations: 23.98 kB / 462 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3123, allocations: 7.938 kB / 462 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3123, allocations: 4 kB / 462 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.314, allocations: 1.127 MB / 463.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.3141, allocations: 43.64 kB / 463.2 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3141, allocations: 16.06 kB / 463.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.3145, allocations: 23.92 kB / 463.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.3146, allocations: 52.56 kB / 463.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3146, allocations: 16 kB / 463.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.3148, allocations: 185.2 kB / 463.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3148, allocations: 4 kB / 463.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007575/0.3156, allocations: 227.3 kB / 463.7 MB, free: 5.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.3177, allocations: 1.715 MB / 465.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3188, allocations: 0.5715 MB / 466 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3188, allocations: 1.75 kB / 466 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.3193, allocations: 271.6 kB / 466.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3198, allocations: 43.28 kB / 466.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/0.3267, allocations: 4.847 MB / 471.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.3273, allocations: 0.9006 MB / 472 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.3276, allocations: 72.39 kB / 472.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.3279, allocations: 255.3 kB / 472.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3279, allocations: 0 / 472.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.3706, allocations: 10.34 MB / 482.7 MB, free: 2.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.93, allocations: 11.58 kB / 482.7 MB, free: 2.445 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.585647183004767]