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.001557/0.001557, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2594, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006292/0.2658, allocations: 5.401 MB / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.2689, allocations: 1.508 MB / 415.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/0.2698, allocations: 31.81 kB / 415.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.2706, allocations: 217.8 kB / 415.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009993/0.2716, allocations: 194 kB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2728, allocations: 411.4 kB / 416.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.2743, allocations: 1.126 MB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.2751, allocations: 480.2 kB / 418.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00074/0.2758, allocations: 414.2 kB / 418.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.2764, allocations: 433.5 kB / 419 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.2766, allocations: 84 kB / 419 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.2769, allocations: 107.9 kB / 419.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2771, allocations: 203.2 kB / 419.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.2775, allocations: 0.5009 MB / 419.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2786, allocations: 1.184 MB / 421 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2787, allocations: 0 / 421 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2787, allocations: 0 / 421 MB, free: 5.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.2787, allocations: 0 / 421 MB, free: 5.223 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001863/0.2806, allocations: 1.321 MB / 422.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2806, allocations: 8.031 kB / 422.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.2808, allocations: 152.2 kB / 422.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.2811, allocations: 142.5 kB / 422.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/0.2821, allocations: 0.6536 MB / 423.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.2822, allocations: 77.94 kB / 423.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2823, allocations: 103.9 kB / 423.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2838, allocations: 1.027 MB / 424.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.2839, allocations: 11.94 kB / 424.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.2839, allocations: 44 kB / 424.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.284, allocations: 28 kB / 424.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.2851, allocations: 0.55 MB / 425.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.2898, allocations: 5.493 MB / 430.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.2904, allocations: 236.9 kB / 430.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.2908, allocations: 153.6 kB / 431 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.2909, allocations: 85.11 kB / 431.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.291, allocations: 38.55 kB / 431.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.291, allocations: 0 / 431.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003783/0.2948, allocations: 1.72 MB / 432.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.2948, allocations: 89.03 kB / 432.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.2955, allocations: 0.6411 MB / 433.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.2956, allocations: 33.7 kB / 433.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.2959, allocations: 0.6026 MB / 434.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.296, allocations: 142 kB / 434.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2962, allocations: 146.4 kB / 434.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2964, allocations: 382.8 kB / 434.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2967, allocations: 153.9 kB / 435 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.2972, allocations: 497.1 kB / 435.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/0.298, allocations: 0.7064 MB / 436.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2981, allocations: 8 kB / 436.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001182/0.2992, allocations: 0.7074 MB / 436.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.2993, allocations: 12 kB / 436.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.2993, allocations: 12 kB / 436.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.2993, allocations: 16 kB / 437 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.3, allocations: 204.1 kB / 437.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.3, allocations: 23.92 kB / 437.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.3004, allocations: 35.98 kB / 437.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.3005, allocations: 40 kB / 437.3 MB, free: 3.93 MB / 350.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.0003557/0.3008, allocations: 225.5 kB / 437.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.301, allocations: 75.06 kB / 437.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.3011, allocations: 78.58 kB / 437.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3012, allocations: 7.938 kB / 437.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3012, allocations: 4 kB / 437.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3012, allocations: 3.984 kB / 437.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.3033, allocations: 1.319 MB / 439 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3034, allocations: 3.938 kB / 439 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.3038, allocations: 99.81 kB / 439.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3039, allocations: 7.938 kB / 439.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3039, allocations: 15.98 kB / 439.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3039, allocations: 4 kB / 439.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3039, allocations: 8.156 kB / 439.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.3049, allocations: 0.6969 MB / 439.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.305, allocations: 140.2 kB / 439.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.3051, allocations: 12 kB / 439.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.3055, allocations: 19.98 kB / 440 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.3055, allocations: 31.95 kB / 440 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.3056, allocations: 16 kB / 440 MB, free: 1.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.3061, allocations: 423 kB / 440.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3061, allocations: 0 / 440.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007352/0.3068, allocations: 136 kB / 440.6 MB, free: 0.4961 MB / 350.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.001366/0.3082, allocations: 1.262 MB / 441.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008545/0.3091, allocations: 437.2 kB / 442.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3091, allocations: 0 / 442.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.3094, allocations: 153.2 kB / 442.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.31, allocations: 82.45 kB / 442.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/0.3186, allocations: 6.117 MB / 448.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.3193, allocations: 0.9962 MB / 449.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.3196, allocations: 94.06 kB / 449.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.32, allocations: 391.3 kB / 450.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3201, allocations: 0 / 450.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3518, allocations: 11.86 MB / 461.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.701, allocations: 7.047 kB / 461.9 MB, free: 10.67 MB / 382.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