Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 213.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.316/1.316, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 67.92 kB / 306.4 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 50.52 MB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006534/0.1127, allocations: 5.386 MB / 362.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.1162, allocations: 1.5 MB / 363.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.1172, allocations: 39.75 kB / 363.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.118, allocations: 158.6 kB / 364 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1192, allocations: 154.6 kB / 364.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1204, allocations: 359.6 kB / 364.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.122, allocations: 1.072 MB / 365.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.1228, allocations: 431.4 kB / 366 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.1235, allocations: 366.2 kB / 366.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.124, allocations: 417.6 kB / 366.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.1242, allocations: 60 kB / 366.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.1244, allocations: 87.92 kB / 366.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1246, allocations: 187.1 kB / 367.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.1251, allocations: 480.9 kB / 367.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009269/0.1261, allocations: 1.031 MB / 368.6 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1261, allocations: 0 / 368.6 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1261, allocations: 0 / 368.6 MB, free: 2.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.224e-05/0.1261, allocations: 0 / 368.6 MB, free: 2.43 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001845/0.128, allocations: 1.323 MB / 369.9 MB, free: 1.055 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.128, allocations: 8.031 kB / 369.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.1282, allocations: 152.2 kB / 370 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.1285, allocations: 146.4 kB / 370.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.1293, allocations: 0.6263 MB / 370.8 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.1293, allocations: 73.94 kB / 370.9 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1396/0.2689, allocations: 97.75 kB / 371 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.2708, allocations: 1.022 MB / 372 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.2709, allocations: 11.28 kB / 372 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.271, allocations: 43 kB / 372 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.271, allocations: 30.64 kB / 372.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2722, allocations: 0.5596 MB / 372.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.2763, allocations: 5.517 MB / 378.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.2768, allocations: 239 kB / 378.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.2771, allocations: 158.8 kB / 378.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.2773, allocations: 89.38 kB / 378.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.2773, allocations: 41.31 kB / 378.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.2773, allocations: 0 / 378.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003294/0.2806, allocations: 1.712 MB / 380.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2807, allocations: 83.55 kB / 380.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.2814, allocations: 0.6387 MB / 381.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2814, allocations: 34.98 kB / 381.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.2817, allocations: 0.6006 MB / 381.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.2818, allocations: 146.5 kB / 381.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.282, allocations: 138.8 kB / 382 MB, free: 12.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2821, allocations: 385.6 kB / 382.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.2824, allocations: 150.3 kB / 382.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.2828, allocations: 499 kB / 383 MB, free: 11.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.2835, allocations: 0.7062 MB / 383.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2836, allocations: 7.328 kB / 383.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009812/0.2845, allocations: 0.7047 MB / 384.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2846, allocations: 11.03 kB / 384.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2846, allocations: 15.34 kB / 384.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.2846, allocations: 25.42 kB / 384.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.2852, allocations: 194.5 kB / 384.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.381e-05/0.2853, allocations: 22.84 kB / 384.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2856, allocations: 34.42 kB / 384.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.2857, allocations: 38.02 kB / 384.8 MB, free: 10.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0002282/0.2859, allocations: 231.2 kB / 385 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.286, allocations: 78.25 kB / 385.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.2861, allocations: 78.14 kB / 385.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2861, allocations: 8.656 kB / 385.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.2861, allocations: 1.906 kB / 385.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2862, allocations: 1.359 kB / 385.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.2881, allocations: 1.33 MB / 386.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2881, allocations: 4.094 kB / 386.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.2886, allocations: 98.81 kB / 386.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2886, allocations: 4.156 kB / 386.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.2886, allocations: 17.58 kB / 386.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2886, allocations: 4.641 kB / 386.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2886, allocations: 1.781 kB / 386.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.2895, allocations: 0.7025 MB / 387.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.2896, allocations: 136.7 kB / 387.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.2897, allocations: 13.8 kB / 387.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.29, allocations: 24.67 kB / 387.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.29, allocations: 27.72 kB / 387.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.2901, allocations: 13.83 kB / 387.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004382/0.2905, allocations: 431.6 kB / 388 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2905, allocations: 1.531 kB / 388 MB, free: 8.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000613/0.2911, allocations: 136.6 kB / 388.1 MB, free: 8.855 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.001042/0.2922, allocations: 1.252 MB / 389.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.2929, allocations: 444 kB / 389.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2929, allocations: 0 / 389.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.2932, allocations: 154.7 kB / 389.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.2937, allocations: 75.86 kB / 390 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/0.3013, allocations: 6.797 MB / 396.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3018, allocations: 1.003 MB / 397.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.3021, allocations: 95.61 kB / 397.9 MB, free: 2.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.3024, allocations: 393.4 kB / 398.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3024, allocations: 1.406 kB / 398.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3244, allocations: 11 MB / 409.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.3246, allocations: 202.2 kB / 409.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.256, allocations: 8 kB / 409.5 MB, free: 9.172 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches