Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001144, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.64 kB / 306.4 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.09074, allocations: 50.53 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004764/0.09555, allocations: 3.721 MB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.09792, allocations: 1.48 MB / 362.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.09824, allocations: 8 kB / 362.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.09995, allocations: 0.7082 MB / 362.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.101, allocations: 346.5 kB / 363.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1021, allocations: 0.5402 MB / 363.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.1027, allocations: 442 kB / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/0.1033, allocations: 344.9 kB / 364.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.1037, allocations: 207.2 kB / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.104, allocations: 255 kB / 364.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.1041, allocations: 36 kB / 364.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.1045, allocations: 199.8 kB / 365.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.1046, allocations: 95.59 kB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1048, allocations: 222.8 kB / 365.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.1055, allocations: 0.662 MB / 366.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1056, allocations: 0 / 366.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1056, allocations: 0 / 366.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1056, allocations: 3.938 kB / 366.1 MB, free: 4.922 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002081/0.1077, allocations: 0.9054 MB / 367 MB, free: 3.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1077, allocations: 8.031 kB / 367 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.1079, allocations: 96.02 kB / 367.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.1114, allocations: 499.9 kB / 367.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.1118, allocations: 315.5 kB / 367.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.1119, allocations: 41.67 kB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.112, allocations: 56.38 kB / 368 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.113, allocations: 0.5218 MB / 368.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.113, allocations: 7.938 kB / 368.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.1131, allocations: 20 kB / 368.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1131, allocations: 19.98 kB / 368.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1142, allocations: 0.5634 MB / 369.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1456/0.2598, allocations: 1.952 MB / 371.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.2615, allocations: 2.182 MB / 373.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.2619, allocations: 213.8 kB / 373.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.262, allocations: 172.8 kB / 373.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.262, allocations: 37.78 kB / 373.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.262, allocations: 0 / 373.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001842/0.2639, allocations: 0.7957 MB / 374.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.2639, allocations: 60.81 kB / 374.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2641, allocations: 189.5 kB / 374.7 MB, free: 16.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.2641, allocations: 35.17 kB / 374.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.2642, allocations: 222 kB / 375 MB, free: 16.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.2643, allocations: 158.1 kB / 375.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.2644, allocations: 81.58 kB / 375.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.2645, allocations: 335.9 kB / 375.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.2648, allocations: 153.9 kB / 375.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.2651, allocations: 227.7 kB / 375.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.2657, allocations: 399.7 kB / 376.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2657, allocations: 0 / 376.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009423/0.2666, allocations: 0.537 MB / 376.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2667, allocations: 7.359 kB / 376.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2667, allocations: 1.75 kB / 376.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/0.267, allocations: 88.73 kB / 376.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.2674, allocations: 97.92 kB / 377 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.2689, allocations: 1.847 MB / 378.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.2691, allocations: 46.44 kB / 378.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2692, allocations: 18.97 kB / 378.9 MB, free: 13.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.2693, allocations: 170.9 kB / 379.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.2694, allocations: 23.94 kB / 379.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.2704, allocations: 0.5517 MB / 379.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2704, allocations: 10 kB / 379.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2704, allocations: 1.812 kB / 379.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2704, allocations: 2.484 kB / 379.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2719, allocations: 1.133 MB / 380.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2719, allocations: 1.312 kB / 380.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.2722, allocations: 77.72 kB / 380.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.2725, allocations: 87.36 kB / 381 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.2725, allocations: 11.75 kB / 381 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.2739, allocations: 1.849 MB / 382.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2739, allocations: 0 / 382.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2751, allocations: 0.7887 MB / 383.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.2752, allocations: 115.9 kB / 383.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.2752, allocations: 6.25 kB / 383.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2754, allocations: 19.86 kB / 383.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.2755, allocations: 34.41 kB / 383.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.2756, allocations: 14.69 kB / 383.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.2757, allocations: 133.3 kB / 384 MB, free: 10.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2757, allocations: 0 / 384 MB, free: 10.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.2762, allocations: 149.4 kB / 384.1 MB, free: 10.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.2777, allocations: 1.376 MB / 385.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009237/0.2786, allocations: 0.5682 MB / 386.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2786, allocations: 0 / 386.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.2791, allocations: 387 kB / 386.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.2795, allocations: 28.62 kB / 386.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.2835, allocations: 3.584 MB / 390 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2838, allocations: 0.8098 MB / 390.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.2841, allocations: 55.73 kB / 390.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.2843, allocations: 137.4 kB / 391 MB, free: 5.73 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2843, allocations: 1.406 kB / 391 MB, free: 5.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3013, allocations: 7.177 MB / 398.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.3015, allocations: 256 kB / 398.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.106, allocations: 0 / 398.5 MB, free: 3.391 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches