Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001782/0.001782, allocations: 99.62 kB / 21.95 MB, free: 5.219 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.001964/0.001964, allocations: 214 kB / 25.26 MB, free: 3.129 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.305/1.305, allocations: 207.7 MB / 236.1 MB, free: 9.797 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.001647/0.001647, allocations: 54.52 kB / 348 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2434, allocations: 49.15 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003911/0.2473, allocations: 2.905 MB / 400 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2489, allocations: 0.934 MB / 401 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.2491, allocations: 4.25 kB / 401 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.2493, allocations: 68.91 kB / 401 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.2497, allocations: 126 kB / 401.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.2501, allocations: 147.1 kB / 401.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.2506, allocations: 489.7 kB / 401.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2508, allocations: 107 kB / 401.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.2511, allocations: 200.6 kB / 402.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.2513, allocations: 204.6 kB / 402.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.2514, allocations: 39.62 kB / 402.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.2516, allocations: 71.75 kB / 402.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.2516, allocations: 96.69 kB / 402.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.2518, allocations: 178.8 kB / 402.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.2523, allocations: 0.4973 MB / 403.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2523, allocations: 0 / 403.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2523, allocations: 1.219 kB / 403.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.2523, allocations: 0 / 403.2 MB, free: 5.172 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001149/0.2535, allocations: 0.6716 MB / 403.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2535, allocations: 14.7 kB / 403.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.757e-05/0.2535, allocations: 7.594 kB / 403.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.2536, allocations: 69.61 kB / 403.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.2537, allocations: 48.06 kB / 404 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.2541, allocations: 242.7 kB / 404.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2541, allocations: 28.11 kB / 404.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.2541, allocations: 34.34 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.2548, allocations: 453.2 kB / 404.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2548, allocations: 4 kB / 404.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.2548, allocations: 10.72 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2548, allocations: 8.156 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.2553, allocations: 229.3 kB / 405 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.257, allocations: 1.048 MB / 406 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.2576, allocations: 241.7 kB / 406.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.258, allocations: 199.5 kB / 406.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.2583, allocations: 74.56 kB / 406.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2584, allocations: 37.14 kB / 406.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.2584, allocations: 1.5 kB / 406.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001212/0.2596, allocations: 459.4 kB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.2596, allocations: 79.86 kB / 407.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.2599, allocations: 335.8 kB / 407.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2599, allocations: 32.45 kB / 407.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.26, allocations: 214.7 kB / 407.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.2601, allocations: 105.8 kB / 407.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2602, allocations: 71.53 kB / 407.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.2602, allocations: 353.1 kB / 408.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.2605, allocations: 97.73 kB / 408.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.2607, allocations: 199 kB / 408.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.2611, allocations: 285.6 kB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2611, allocations: 0.7031 kB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007096/0.2618, allocations: 427.6 kB / 409.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2618, allocations: 5.5 kB / 409.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2618, allocations: 2.75 kB / 409.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.2621, allocations: 68.31 kB / 409.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.2624, allocations: 72.66 kB / 409.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.2638, allocations: 1.837 MB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.2641, allocations: 37.55 kB / 411.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.2642, allocations: 16.27 kB / 411.2 MB, free: 15.69 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.2644, allocations: 157.1 kB / 411.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.2644, allocations: 42.67 kB / 411.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007049/0.2651, allocations: 320.4 kB / 411.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2651, allocations: 6.5 kB / 411.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2651, allocations: 1.469 kB / 411.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2652, allocations: 2.297 kB / 411.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.2656, allocations: 316.6 kB / 412 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2656, allocations: 0 / 412 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.2659, allocations: 55.44 kB / 412.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.2661, allocations: 61.39 kB / 412.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.2662, allocations: 8.25 kB / 412.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00046/0.2666, allocations: 0.6072 MB / 412.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2666, allocations: 5.438 kB / 412.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.2675, allocations: 0.4969 MB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2677, allocations: 59.02 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.2677, allocations: 6.969 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.268, allocations: 22.11 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.268, allocations: 24 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2681, allocations: 7.219 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.2683, allocations: 239.8 kB / 413.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2683, allocations: 0 / 413.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.2688, allocations: 111.1 kB / 413.7 MB, free: 14.03 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.2701, allocations: 1.075 MB / 414.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.271, allocations: 385 kB / 415.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.271, allocations: 1.188 kB / 415.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.2714, allocations: 125.9 kB / 415.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2718, allocations: 44.89 kB / 415.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.2769, allocations: 3.693 MB / 419 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2771, allocations: 186.7 kB / 419.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.2772, allocations: 38.11 kB / 419.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2774, allocations: 129 kB / 419.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2774, allocations: 0 / 419.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.3117, allocations: 8.091 MB / 427.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.4, allocations: 8.625 kB / 427.5 MB, free: 4.012 MB / 334.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.754147910978645]