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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00499/0.00499, allocations: 114.3 kB / 21.97 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 207.5 kB / 25.27 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 51.92 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 49.17 MB / 397.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005133/0.2419, allocations: 5.368 MB / 402.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2443, allocations: 1.486 MB / 404 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.2449, allocations: 40.38 kB / 404.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.2454, allocations: 219 kB / 404.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.2459, allocations: 197.5 kB / 404.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.2467, allocations: 408.7 kB / 404.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2477, allocations: 1.126 MB / 406 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004389/0.2481, allocations: 336.4 kB / 406.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.2485, allocations: 411.5 kB / 406.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.249, allocations: 438.8 kB / 407.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.2491, allocations: 83.28 kB / 407.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.2493, allocations: 100.2 kB / 407.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2494, allocations: 209.7 kB / 407.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.2497, allocations: 0.4961 MB / 408 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.2508, allocations: 1.182 MB / 409.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2508, allocations: 0 / 409.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2508, allocations: 0 / 409.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.2508, allocations: 1.531 kB / 409.2 MB, free: 1.234 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.001601/0.2524, allocations: 1.264 MB / 410.5 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2524, allocations: 14.95 kB / 410.5 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.295e-05/0.2524, allocations: 29.38 kB / 410.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.2526, allocations: 147.9 kB / 410.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2527, allocations: 129.7 kB / 410.8 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009683/0.2537, allocations: 0.5708 MB / 411.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.2537, allocations: 73.75 kB / 411.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.2539, allocations: 101.5 kB / 411.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2555, allocations: 1.029 MB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.2555, allocations: 12.48 kB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.2556, allocations: 47 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.2556, allocations: 26.62 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.2567, allocations: 0.5575 MB / 413.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/0.2618, allocations: 5.421 MB / 418.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.2624, allocations: 218.8 kB / 418.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.2627, allocations: 145.2 kB / 419 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.2628, allocations: 23.61 kB / 419 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2628, allocations: 31.94 kB / 419 MB, free: 9.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.2628, allocations: 0 / 419 MB, free: 9.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.003774/0.2666, allocations: 1.578 MB / 420.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.2667, allocations: 90.42 kB / 420.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.2674, allocations: 0.6393 MB / 421.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2674, allocations: 30.92 kB / 421.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.2678, allocations: 0.6113 MB / 422 MB, free: 7.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2679, allocations: 153.9 kB / 422.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2681, allocations: 139.3 kB / 422.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2683, allocations: 384.2 kB / 422.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.2686, allocations: 156.3 kB / 422.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.2692, allocations: 0.4891 MB / 423.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/0.2701, allocations: 0.7085 MB / 424 MB, free: 5.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2701, allocations: 3.438 kB / 424 MB, free: 5.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001187/0.2713, allocations: 0.7142 MB / 424.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2713, allocations: 11.28 kB / 424.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2714, allocations: 14.91 kB / 424.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/0.2714, allocations: 21.25 kB / 424.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.272, allocations: 188.7 kB / 424.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.272, allocations: 27.3 kB / 425 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.2724, allocations: 38.67 kB / 425 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.2724, allocations: 43.38 kB / 425 MB, free: 5.016 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.0003418/0.2728, allocations: 225.9 kB / 425.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.2729, allocations: 78.8 kB / 425.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.273, allocations: 79.09 kB / 425.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.273, allocations: 5.5 kB / 425.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2731, allocations: 0 / 425.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2731, allocations: 1.375 kB / 425.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.2751, allocations: 1.276 MB / 426.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2751, allocations: 5.469 kB / 426.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.2756, allocations: 108.8 kB / 426.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2756, allocations: 2.969 kB / 426.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.2756, allocations: 8.438 kB / 426.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.2756, allocations: 7.234 kB / 426.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2756, allocations: 1.531 kB / 426.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2767, allocations: 0.7106 MB / 427.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2768, allocations: 71.47 kB / 427.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.2768, allocations: 11.84 kB / 427.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.2771, allocations: 24.17 kB / 427.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.2772, allocations: 30.98 kB / 427.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.2772, allocations: 12.88 kB / 427.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005081/0.2777, allocations: 430.3 kB / 428.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2777, allocations: 0 / 428.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007023/0.2784, allocations: 137.2 kB / 428.2 MB, free: 2.895 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.00133/0.2798, allocations: 1.25 MB / 429.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.2806, allocations: 426.2 kB / 429.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2806, allocations: 0 / 429.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2809, allocations: 147.7 kB / 430.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.2814, allocations: 71.81 kB / 430.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.2895, allocations: 6.137 MB / 436.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.2902, allocations: 1.008 MB / 437.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.2904, allocations: 94 kB / 437.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.2909, allocations: 391.3 kB / 437.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2909, allocations: 0 / 437.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.328, allocations: 12.31 MB / 450.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.79, allocations: 3.906 kB / 450.1 MB, free: 12.64 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.965617156994995]