Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 186.6 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 51.92 kB / 370.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2429, allocations: 52.19 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004427/0.2473, allocations: 3.101 MB / 425.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2486, allocations: 0.7832 MB / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2488, allocations: 7.938 kB / 426.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.2489, allocations: 51.5 kB / 426.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.2491, allocations: 115 kB / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.2494, allocations: 127.8 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.2499, allocations: 454.3 kB / 427.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.2501, allocations: 103.5 kB / 427.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.2504, allocations: 183.3 kB / 427.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.2507, allocations: 183.2 kB / 427.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.2507, allocations: 44 kB / 427.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.335e-05/0.2508, allocations: 44 kB / 427.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.2509, allocations: 95.62 kB / 427.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.2511, allocations: 191.1 kB / 428.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.2516, allocations: 0.4907 MB / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2516, allocations: 0 / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2516, allocations: 0 / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2516, allocations: 4 kB / 428.6 MB, free: 8.621 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001348/0.253, allocations: 0.6432 MB / 429.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.253, allocations: 8.031 kB / 429.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.2531, allocations: 62.72 kB / 429.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.2531, allocations: 40.7 kB / 429.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2536, allocations: 252.9 kB / 429.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2536, allocations: 25.03 kB / 429.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.2536, allocations: 32.12 kB / 429.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.2544, allocations: 349 kB / 430 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2544, allocations: 0 / 430 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.2544, allocations: 12 kB / 430 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2545, allocations: 8 kB / 430 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.2553, allocations: 302.4 kB / 430.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.2576, allocations: 1.237 MB / 431.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.2582, allocations: 226.3 kB / 431.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.2586, allocations: 104.8 kB / 431.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2586, allocations: 0 / 431.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.2591, allocations: 193.3 kB / 432.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2591, allocations: 4 kB / 432.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002241/0.2613, allocations: 0.6033 MB / 432.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.2614, allocations: 110.8 kB / 432.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.2617, allocations: 292.2 kB / 433.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2618, allocations: 33.64 kB / 433.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2619, allocations: 219.9 kB / 433.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.262, allocations: 51.58 kB / 433.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2621, allocations: 57.66 kB / 433.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2622, allocations: 342.8 kB / 433.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.2627, allocations: 107.9 kB / 433.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.2633, allocations: 211.9 kB / 434.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.264, allocations: 319.7 kB / 434.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.264, allocations: 4 kB / 434.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001269/0.2653, allocations: 490.3 kB / 434.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.2653, allocations: 45.14 kB / 434.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2654, allocations: 4 kB / 434.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/0.2657, allocations: 84.8 kB / 435 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.266, allocations: 55.89 kB / 435.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.2689, allocations: 1.902 MB / 437 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.2692, allocations: 55.78 kB / 437 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2693, allocations: 8 kB / 437 MB, free: 15.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.2695, allocations: 165.9 kB / 437.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.2695, allocations: 23.86 kB / 437.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.2696, allocations: 33.73 kB / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2696, allocations: 0 / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2696, allocations: 0 / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2696, allocations: 0 / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.2699, allocations: 320.4 kB / 437.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2699, allocations: 128 / 437.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2701, allocations: 35.97 kB / 437.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.2704, allocations: 76.81 kB / 437.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.2704, allocations: 11.92 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.2727, allocations: 1.698 MB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2727, allocations: 8.016 kB / 439.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.2741, allocations: 0.4896 MB / 439.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.2742, allocations: 28.06 kB / 439.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.2742, allocations: 11.94 kB / 439.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.2745, allocations: 32.16 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.2745, allocations: 27.95 kB / 440 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2746, allocations: 0 / 440 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.2748, allocations: 215.1 kB / 440.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2748, allocations: 0 / 440.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.2752, allocations: 87.84 kB / 440.3 MB, free: 12.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.2769, allocations: 1.042 MB / 441.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2779, allocations: 445.8 kB / 441.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2779, allocations: 0 / 441.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.2784, allocations: 247.2 kB / 442 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2788, allocations: 44.95 kB / 442 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.2844, allocations: 3.309 MB / 445.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.2848, allocations: 0.76 MB / 446.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.2849, allocations: 30.97 kB / 446.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2851, allocations: 91.41 kB / 446.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2851, allocations: 7.938 kB / 446.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04208/0.3272, allocations: 7.595 MB / 453.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.89, allocations: 0 / 453.8 MB, free: 14.65 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 15.264944687951356]