Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.89 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.301, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004419/0.3054, allocations: 2.924 MB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.307, allocations: 0.7088 MB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.3073, allocations: 4 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3075, allocations: 63.44 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.3078, allocations: 87.19 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.3082, allocations: 91.81 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.3087, allocations: 378.9 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.3091, allocations: 172.4 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.3094, allocations: 147.5 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.3096, allocations: 163.3 kB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.3097, allocations: 36 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.41e-05/0.3098, allocations: 32 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.3099, allocations: 71.75 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.3101, allocations: 171.1 kB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.3105, allocations: 389.4 kB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3106, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3106, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3106, allocations: 0 / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001097/0.3117, allocations: 0.6196 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3117, allocations: 12.03 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.002e-05/0.3118, allocations: 66.72 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.3119, allocations: 40.7 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3124, allocations: 275.8 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3124, allocations: 21.03 kB / 415.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.3125, allocations: 32.38 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.3131, allocations: 286.2 kB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3131, allocations: 0 / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3131, allocations: 12 kB / 415.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3132, allocations: 8 kB / 415.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.3136, allocations: 218.5 kB / 415.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.3153, allocations: 1.018 MB / 416.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.3157, allocations: 170.4 kB / 417 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.316, allocations: 132.7 kB / 417.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.3161, allocations: 4 kB / 417.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.3161, allocations: 38.56 kB / 417.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 5.851e-06/0.3161, allocations: 3.984 kB / 417.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006418/0.3168, allocations: 220 kB / 417.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3168, allocations: 51.41 kB / 417.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3171, allocations: 223 kB / 417.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3171, allocations: 37.64 kB / 417.7 MB, free: 8.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.3173, allocations: 196.4 kB / 417.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.3174, allocations: 79.36 kB / 418 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.3175, allocations: 49.98 kB / 418 MB, free: 8.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3176, allocations: 326.8 kB / 418.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.3178, allocations: 68.52 kB / 418.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3181, allocations: 147.4 kB / 418.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.3185, allocations: 217.2 kB / 418.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3185, allocations: 0 / 418.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000505/0.319, allocations: 277.1 kB / 419 MB, free: 6.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3191, allocations: 8 kB / 419 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3191, allocations: 4 kB / 419 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3191, allocations: 4 kB / 419 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.3194, allocations: 72.14 kB / 419.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3194, allocations: 7.938 kB / 419.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3196, allocations: 43.77 kB / 419.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3196, allocations: 8 kB / 419.2 MB, free: 6.797 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.000142/0.3198, allocations: 141.8 kB / 419.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.3198, allocations: 27.8 kB / 419.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.3203, allocations: 199 kB / 419.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3203, allocations: 4 kB / 419.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3203, allocations: 0 / 419.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3203, allocations: 3.984 kB / 419.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.3211, allocations: 0.604 MB / 420.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3211, allocations: 0 / 420.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3214, allocations: 60.03 kB / 420.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3214, allocations: 0 / 420.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3215, allocations: 7.984 kB / 420.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3215, allocations: 0 / 420.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3215, allocations: 0 / 420.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.3221, allocations: 381.3 kB / 420.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.3222, allocations: 112.9 kB / 420.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3222, allocations: 0 / 420.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3224, allocations: 15.98 kB / 420.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.3224, allocations: 15.98 kB / 420.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3225, allocations: 4 kB / 420.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.3226, allocations: 160.6 kB / 420.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3226, allocations: 0 / 420.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.323, allocations: 75.78 kB / 420.9 MB, free: 4.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * 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.00102/0.324, allocations: 0.9136 MB / 421.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.3244, allocations: 183.7 kB / 422 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3245, allocations: 0 / 422 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.3246, allocations: 84.53 kB / 422.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.325, allocations: 28.59 kB / 422.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.3289, allocations: 2.825 MB / 425 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.3294, allocations: 0.7713 MB / 425.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.3295, allocations: 17.95 kB / 425.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3297, allocations: 87.41 kB / 425.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3297, allocations: 0 / 425.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.357, allocations: 4.652 MB / 430.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.443, allocations: 12.17 kB / 430.5 MB, free: 11.23 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches