Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 109.3 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 188.2 kB / 18.66 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 56.34 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09165, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.1726/0.2643, allocations: 5.329 MB / 380 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.2669, allocations: 1.477 MB / 381.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.2677, allocations: 29.44 kB / 381.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.2683, allocations: 218.1 kB / 381.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000792/0.2691, allocations: 190.5 kB / 381.9 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2701, allocations: 399.1 kB / 382.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.2715, allocations: 1.127 MB / 383.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006882/0.2722, allocations: 485 kB / 383.9 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.2726, allocations: 400.8 kB / 384.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.273, allocations: 431.9 kB / 384.7 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.2732, allocations: 83 kB / 384.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.2734, allocations: 95.97 kB / 384.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.2735, allocations: 213.6 kB / 385.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.2738, allocations: 0.4956 MB / 385.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.2749, allocations: 1.173 MB / 386.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2749, allocations: 0.6094 kB / 386.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.275, allocations: 1.5 kB / 386.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.275, allocations: 4 kB / 386.8 MB, free: 7.035 MB / 318.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.001603/0.2766, allocations: 1.343 MB / 388.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2766, allocations: 8.594 kB / 388.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.2768, allocations: 156.1 kB / 388.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2769, allocations: 129.6 kB / 388.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/0.2779, allocations: 0.6519 MB / 389.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.2779, allocations: 77.81 kB / 389.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.2781, allocations: 105.2 kB / 389.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.2796, allocations: 1.026 MB / 390.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.2796, allocations: 7.844 kB / 390.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.2797, allocations: 47.66 kB / 390.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.2797, allocations: 26.83 kB / 390.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.2808, allocations: 0.5535 MB / 390.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/0.2845, allocations: 5.503 MB / 396.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.2851, allocations: 239 kB / 396.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.2854, allocations: 158.1 kB / 396.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2856, allocations: 87.64 kB / 396.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.2856, allocations: 37.41 kB / 396.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.2856, allocations: 1.094 kB / 396.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004107/0.2897, allocations: 1.739 MB / 398.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.2898, allocations: 86.5 kB / 398.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.2906, allocations: 0.6365 MB / 399.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2907, allocations: 31.92 kB / 399.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.2912, allocations: 0.6182 MB / 400 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2913, allocations: 151.5 kB / 400.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2915, allocations: 137.8 kB / 400.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.2917, allocations: 389.7 kB / 400.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.2921, allocations: 150.9 kB / 400.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.2927, allocations: 0.4945 MB / 401.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.2936, allocations: 0.7012 MB / 402 MB, free: 11.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2936, allocations: 3.25 kB / 402 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001194/0.2948, allocations: 0.715 MB / 402.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2949, allocations: 11.17 kB / 402.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2949, allocations: 10.72 kB / 402.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.2949, allocations: 17.06 kB / 402.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.2956, allocations: 199 kB / 403 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.2956, allocations: 30.95 kB / 403 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.296, allocations: 34.44 kB / 403 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.296, allocations: 36.33 kB / 403.1 MB, free: 11.58 MB / 334.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.0003214/0.2964, allocations: 222.3 kB / 403.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2965, allocations: 79.75 kB / 403.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.2966, allocations: 76.75 kB / 403.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2966, allocations: 10.02 kB / 403.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2967, allocations: 0 / 403.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2967, allocations: 7.547 kB / 403.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.2988, allocations: 1.324 MB / 404.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2989, allocations: 2.547 kB / 404.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.2993, allocations: 104.8 kB / 404.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2993, allocations: 8.062 kB / 404.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2994, allocations: 8.125 kB / 404.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2994, allocations: 2.75 kB / 404.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2994, allocations: 2.906 kB / 404.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3004, allocations: 0.7159 MB / 405.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3005, allocations: 144.9 kB / 405.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.3006, allocations: 11.05 kB / 405.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.3009, allocations: 24.11 kB / 405.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.301, allocations: 34.86 kB / 405.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.301, allocations: 12.72 kB / 405.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000454/0.3015, allocations: 424.3 kB / 406.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.3015, allocations: 0 / 406.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006645/0.3021, allocations: 143.2 kB / 406.4 MB, free: 9.707 MB / 334.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.001345/0.3035, allocations: 1.254 MB / 407.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000793/0.3043, allocations: 436.3 kB / 408.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3043, allocations: 0 / 408.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3046, allocations: 158.7 kB / 408.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.3051, allocations: 75.23 kB / 408.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.3132, allocations: 6.124 MB / 414.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/0.3139, allocations: 1 MB / 415.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.3142, allocations: 97.47 kB / 415.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/0.3147, allocations: 392.3 kB / 415.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3147, allocations: 0 / 415.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.353, allocations: 11.65 MB / 427.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.856, allocations: 11.91 kB / 427.6 MB, free: 8.488 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches