Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008728/0.0008727, allocations: 175.1 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006788/0.0006788, allocations: 85.38 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2012, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.007516/0.2088, allocations: 8.332 MB / 383.5 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005674/0.2145, allocations: 3.184 MB / 386.7 MB, free: 36.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.2161, allocations: 37.97 kB / 386.7 MB, free: 36.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.2181, allocations: 0.5992 MB / 387.3 MB, free: 35.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.2207, allocations: 0.7056 MB / 388 MB, free: 35.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.222, allocations: 324.3 kB / 388.4 MB, free: 35.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.2247, allocations: 2.502 MB / 390.9 MB, free: 32.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.2265, allocations: 1.415 MB / 392.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.228, allocations: 0.8404 MB / 393.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2297, allocations: 1.156 MB / 394.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004524/0.2301, allocations: 127.9 kB / 394.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.2312, allocations: 255.8 kB / 394.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000729/0.232, allocations: 0.6152 MB / 395.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.2336, allocations: 1.055 MB / 396.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.2365, allocations: 2.992 MB / 399.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.2365, allocations: 0 / 399.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2365, allocations: 3.938 kB / 399.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.2367, allocations: 0 / 399.3 MB, free: 24.46 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005257/0.2419, allocations: 2.262 MB / 401.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.242, allocations: 8.031 kB / 401.6 MB, free: 22.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006496/0.2426, allocations: 278.6 kB / 401.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008048/0.2435, allocations: 273.9 kB / 402.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.2458, allocations: 1.295 MB / 403.4 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.2459, allocations: 147.7 kB / 403.6 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.2462, allocations: 187.9 kB / 403.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.2499, allocations: 2.424 MB / 406.2 MB, free: 17.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.067e-05/0.25, allocations: 11.91 kB / 406.2 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.2501, allocations: 75.98 kB / 406.3 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.948e-05/0.2502, allocations: 95.67 kB / 406.4 MB, free: 17.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.2532, allocations: 1.982 MB / 408.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.2637, allocations: 7.425 MB / 415.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.2653, allocations: 1.359 MB / 417.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.2666, allocations: 0.8816 MB / 418 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.2669, allocations: 126.1 kB / 418.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/0.2678, allocations: 0.6875 MB / 418.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.737e-06/0.2678, allocations: 0 / 418.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.01439/0.2822, allocations: 7.421 MB / 426.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.2824, allocations: 192.9 kB / 426.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.2846, allocations: 1.411 MB / 427.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.2848, allocations: 45.7 kB / 427.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009014/0.2857, allocations: 0.9325 MB / 428.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.2861, allocations: 425.9 kB / 429.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.2862, allocations: 24 kB / 429.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2864, allocations: 357.9 kB / 429.6 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.2876, allocations: 0.6286 MB / 430.2 MB, free: 8.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.2888, allocations: 1.007 MB / 431.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.2913, allocations: 1.692 MB / 432.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.2913, allocations: 4 kB / 432.9 MB, free: 5.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004218/0.2955, allocations: 2.332 MB / 435.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2956, allocations: 11.94 kB / 435.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.2956, allocations: 8 kB / 435.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.2968, allocations: 499.8 kB / 435.8 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2979, allocations: 299.5 kB / 436.1 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/0.3045, allocations: 6.581 MB / 442.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3058, allocations: 95.91 kB / 442.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.306, allocations: 60.05 kB / 442.8 MB, free: 11.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001271/0.3073, allocations: 0.6301 MB / 443.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.3077, allocations: 154.1 kB / 443.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.3115, allocations: 2.131 MB / 445.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3115, allocations: 19.94 kB / 445.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.3115, allocations: 7.938 kB / 445.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.3115, allocations: 7.969 kB / 445.7 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007779/0.3193, allocations: 4.554 MB / 450.3 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.3194, allocations: 7.938 kB / 450.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007795/0.3202, allocations: 187.8 kB / 450.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.3216, allocations: 0.537 MB / 451 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.3217, allocations: 31.98 kB / 451.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007705/0.3294, allocations: 8.005 MB / 459.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3295, allocations: 4.031 kB / 459.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004863/0.3343, allocations: 3.086 MB / 462.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.3352, allocations: 375 kB / 462.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.3356, allocations: 43.86 kB / 462.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.3365, allocations: 75.94 kB / 462.6 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.3368, allocations: 92.8 kB / 462.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.3369, allocations: 39.98 kB / 462.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.3386, allocations: 0.9752 MB / 463.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.907e-06/0.3387, allocations: 0 / 463.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001882/0.3405, allocations: 456.1 kB / 464.2 MB, free: 5.262 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006017/0.3466, allocations: 4.032 MB / 468.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00372/0.3503, allocations: 2.244 MB / 470.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.3504, allocations: 0 / 470.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.3528, allocations: 1.522 MB / 472 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.3559, allocations: 385.1 kB / 472.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02463/0.3806, allocations: 12.85 MB / 485.2 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.3824, allocations: 1.686 MB / 486.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.3836, allocations: 0.757 MB / 487.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3836, allocations: 0 / 487.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.422/6.805, allocations: 79.24 MB / 0.5536 GB, free: 50.47 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches